# HG changeset patch # User Cameron Gutman # Date 1556681869 25200 # Tue Apr 30 20:37:49 2019 -0700 # Node ID ff7afc5745e5c049f7afa96c823bd6375cf17556 # Parent de6158b1362889df351f8f16b5d6c3b758db2d86 Ignore Xbox One S gamepads with older firmware in HIDAPI This older firmware had a different HID report style that we don't support. diff --git a/src/joystick/hidapi/SDL_hidapi_xbox360.c b/src/joystick/hidapi/SDL_hidapi_xbox360.c --- a/src/joystick/hidapi/SDL_hidapi_xbox360.c +++ b/src/joystick/hidapi/SDL_hidapi_xbox360.c @@ -255,6 +255,10 @@ /* This is the Steam Virtual Gamepad, which isn't supported by this driver */ return SDL_FALSE; } + if (vendor_id == 0x045e && product_id == 0x02e0) { + /* This is the old Bluetooth Xbox One S firmware, which isn't supported by this driver */ + return SDL_FALSE; + } return SDL_IsJoystickXbox360(vendor_id, product_id) || SDL_IsJoystickXboxOne(vendor_id, product_id); #else return SDL_IsJoystickXbox360(vendor_id, product_id);