Added support for the ThrustMaster eSwap PRO Controller Xbox

This commit is contained in:
Sam Lantinga 2023-01-03 15:12:18 -08:00
parent 71f3bf90ed
commit dacdb1c310
6 changed files with 14 additions and 0 deletions

View file

@ -2190,6 +2190,11 @@ SDL_bool SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id)
return SDL_TRUE;
}
}
if (vendor_id == USB_VENDOR_THRUSTMASTER) {
if (product_id == USB_PRODUCT_THRUSTMASTER_ESWAPX_PRO) {
return SDL_TRUE;
}
}
if (vendor_id == USB_VENDOR_8BITDO) {
if (product_id == USB_PRODUCT_8BITDO_XBOX_CONTROLLER) {
return SDL_TRUE;