mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 08:27:39 +00:00
Fixed input from the Steam Virtual Gamepad on Mac OS X
This commit is contained in:
parent
0903e83553
commit
63107524f6
12 changed files with 25 additions and 19 deletions
|
@ -344,7 +344,7 @@ Android_AddJoystick(int device_id, const char *name, const char *desc, int vendo
|
|||
}
|
||||
|
||||
#ifdef SDL_JOYSTICK_HIDAPI
|
||||
if (HIDAPI_IsDevicePresent(vendor_id, product_id)) {
|
||||
if (HIDAPI_IsDevicePresent(vendor_id, product_id, 0)) {
|
||||
/* The HIDAPI driver is taking care of this device */
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue