Skip to content

Commit

Permalink
Don't use the HIDAPI driver for Thrustmaster wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 6, 2025
1 parent 1c0e2b7 commit 6782cfe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/joystick/hidapi/SDL_hidapijoystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,13 @@ bool HIDAPI_SupportsPlaystationDetection(Uint16 vendor, Uint16 product)
case USB_VENDOR_SHANWAN_ALT:
return true;
case USB_VENDOR_THRUSTMASTER:
return true;
/* Most of these are wheels, don't have the full set of effects, and
* at least in the case of the T248 and T300 RS, the hid-tmff2 driver
* puts them in a non-standard report mode and they can't be read.
*
* If these should use the HIDAPI driver, add them to controller_list.h
*/
return false;
case USB_VENDOR_ZEROPLUS:
return true;
case 0x7545 /* SZ-MYPOWER */:
Expand Down

0 comments on commit 6782cfe

Please sign in to comment.