mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-09-21 22:48:44 +02:00
Revert "Fixed detection of the Steam Virtual Gamepad on macOS"
This reverts commit 7aa28ce279
.
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:
parent
7aa28ce279
commit
f1bad83a21
@ -85,8 +85,7 @@ static SDL_bool HIDAPI_DriverXbox360_IsSupportedDevice(SDL_HIDAPI_Device *device
|
|||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
#if defined(__MACOSX__) || defined(__WIN32__)
|
#if defined(__MACOSX__) || defined(__WIN32__)
|
||||||
if (vendor_id == USB_VENDOR_MICROSOFT && product_id == 0x028e &&
|
if (vendor_id == USB_VENDOR_MICROSOFT && product_id == 0x028e && version == 1) {
|
||||||
(version == 0 || version == 1)) {
|
|
||||||
/* 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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user