aboutsummaryrefslogtreecommitdiff
path: root/tminit.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-09-17 21:15:12 +0300
committerGitHub <noreply@github.com>2024-09-17 21:15:12 +0300
commiteebcfce75900bb793f32ccd463367c46567eed8d (patch)
tree12dda69823e090e75166210716893baeedd4136a /tminit.c
parent17d6cad0b508417193ebf4d23f67c845487e9932 (diff)
parent5312a276516f5df108977693b264f368e2e93cc7 (diff)
downloadhid-tminit-eebcfce75900bb793f32ccd463367c46567eed8d.tar.gz
hid-tminit-eebcfce75900bb793f32ccd463367c46567eed8d.zip
Merge pull request #1 from yassineimounachen/usb
add support for TS-XW initialization
Diffstat (limited to 'tminit.c')
-rw-r--r--tminit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tminit.c b/tminit.c
index 268b3fa..a4798a8 100644
--- a/tminit.c
+++ b/tminit.c
@@ -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 */