diff options
| -rw-r--r-- | tminit.c | 7 | ||||
| -rw-r--r-- | usb-tminit.c | 1 |
2 files changed, 5 insertions, 3 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 */ @@ -214,7 +215,7 @@ static void thrustmaster_model_handler(struct urb *urb) tm_wheel->response->type); return; } - + for (i = 0; i < tm_wheels_infos_length && !twi; i++) if (tm_wheels_infos[i].model == model) twi = tm_wheels_infos + i; diff --git a/usb-tminit.c b/usb-tminit.c index cf0dc38..dad3426 100644 --- a/usb-tminit.c +++ b/usb-tminit.c @@ -31,6 +31,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) }, {} }; |
