diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-09-17 21:15:12 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-17 21:15:12 +0300 |
| commit | eebcfce75900bb793f32ccd463367c46567eed8d (patch) | |
| tree | 12dda69823e090e75166210716893baeedd4136a | |
| parent | 17d6cad0b508417193ebf4d23f67c845487e9932 (diff) | |
| parent | 5312a276516f5df108977693b264f368e2e93cc7 (diff) | |
| download | hid-tminit-eebcfce75900bb793f32ccd463367c46567eed8d.tar.gz hid-tminit-eebcfce75900bb793f32ccd463367c46567eed8d.zip | |
Merge pull request #1 from yassineimounachen/usb
add support for TS-XW initialization
| -rw-r--r-- | tminit.c | 5 | ||||
| -rw-r--r-- | usb-tminit.c | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -72,11 +72,12 @@ static const struct tm_wheel_info tm_wheels_infos[] = { {0x02, 0x06, 0x0005, "Thrustmaster T300RS"}, {0x02, 0x09, 0x0005, "Thrustmaster T300RS (Open Wheel Attachment)"}, {0x03, 0x06, 0x0006, "Thrustmaster T150RS"}, - {0x00, 0x09, 0x000b, "Thrustmaster T128"} + {0x00, 0x09, 0x000b, "Thrustmaster T128"}, + {0x07, 0x0a, 0x000a, "Thrustmaster TS-XW"} //{0x04, 0x07, 0x0001, "Thrustmaster TMX"} }; -static const uint8_t tm_wheels_infos_length = 8; +static const uint8_t tm_wheels_infos_length = 9; /* The control packet to send to wheel */ diff --git a/usb-tminit.c b/usb-tminit.c index 87911a8..fae8820 100644 --- a/usb-tminit.c +++ b/usb-tminit.c @@ -34,6 +34,7 @@ static void thrustmaster_usb_disconnect(struct usb_interface *interface) static const struct usb_device_id thrustmaster_usb_devices[] = { { USB_DEVICE(0x044f, 0xb69c) }, + { USB_DEVICE(0x044f, 0xb691) }, {} }; |
