Revert "Fixed detection of the Steam Virtual Gamepad on macOS"

This reverts commit 5fcd70578b.

Steam has been updated to send a version of 1 to avoid conflicts with controllers that report a version of 0.
This commit is contained in:
Sam Lantinga
2023-06-03 11:35:27 -07:00
parent 0c862d9a55
commit 5f00147e61

View File

@@ -81,8 +81,7 @@ static SDL_bool HIDAPI_DriverXbox360_IsSupportedDevice(SDL_HIDAPI_Device *device
return SDL_FALSE;
}
#if defined(__MACOS__) || defined(__WIN32__)
if (vendor_id == USB_VENDOR_MICROSOFT && product_id == 0x028e &&
(version == 0 || version == 1)) {
if (vendor_id == USB_VENDOR_MICROSOFT && product_id == 0x028e && version == 1) {
/* This is the Steam Virtual Gamepad, which isn't supported by this driver */
return SDL_FALSE;
}