This controller firmware is supported on Windows, and is covered by the Bluetooth check on Mac OSX

This commit is contained in:
Sam Lantinga 2020-03-02 10:57:57 -08:00
parent 49564c8b8d
commit eb19631a1e

View File

@ -283,10 +283,6 @@ HIDAPI_DriverXbox360_IsSupportedDevice(const char *name, SDL_GameControllerType
/* This is the Steam Virtual Gamepad, which isn't supported by this driver */ /* This is the Steam Virtual Gamepad, which isn't supported by this driver */
return SDL_FALSE; return SDL_FALSE;
} }
if (vendor_id == USB_VENDOR_MICROSOFT && product_id == 0x02e0) {
/* This is the old Bluetooth Xbox One S firmware, which isn't supported by this driver */
return SDL_FALSE;
}
#if defined(__MACOSX__) #if defined(__MACOSX__)
/* Wired Xbox One controllers are handled by this driver, interfacing with /* Wired Xbox One controllers are handled by this driver, interfacing with
the 360Controller driver available from: the 360Controller driver available from: