From 3449c734d500ad8c6626e639973e13f2b0034563 Mon Sep 17 00:00:00 2001 From: yassineimounachen <160498229+yassineimounachen@users.noreply.github.com> Date: Sun, 21 Apr 2024 15:19:49 +0100 Subject: [PATCH] Add USB IDs for the Thrustmaster TS-XW racing wheel To be of use, this depends on https://github.com/berarma/oversteer/pull/200 and https://github.com/Kimplul/hid-tmff2/pull/94. (cherry picked from commit 5ffb2f47d13f522743e3a064e642366caf4f215e) (cherry picked from commit 8f18e2f52d6a48380b1080f7dcd98bb0d838b8a8) --- src/joystick/SDL_joystick.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index c4e774c9ed47b..c4d43ec0532fc 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -370,6 +370,8 @@ static Uint32 initial_wheel_devices[] = { MAKE_VIDPID(0x044f, 0xb65e), /* Thrustmaster T500RS */ MAKE_VIDPID(0x044f, 0xb664), /* Thrustmaster TX (initial mode) */ MAKE_VIDPID(0x044f, 0xb669), /* Thrustmaster TX (active mode) */ + MAKE_VIDPID(0x044f, 0xb691), /* Thrustmaster TS-XW (initial mode) */ + MAKE_VIDPID(0x044f, 0xb692), /* Thrustmaster TS-XW (active mode) */ MAKE_VIDPID(0x0483, 0x0522), /* Simagic Wheelbase (including M10, Alpha Mini, Alpha, Alpha U) */ MAKE_VIDPID(0x0eb7, 0x0001), /* Fanatec ClubSport Wheel Base V2 */ MAKE_VIDPID(0x0eb7, 0x0004), /* Fanatec ClubSport Wheel Base V2.5 */