mirror of
https://github.com/yawut/SDL.git
synced 2026-08-02 00:15:12 -05:00
Attempt #3: Fixed boolean logic bug that caused all HID joysticks to be
rejected on MacOSX/Darwin. Works now. No, really this time. --ryan.
This commit is contained in:
parent
0eb344ff06
commit
3ee913b76a
|
|
@ -647,7 +647,7 @@ int SDL_SYS_JoystickInit(void)
|
|||
|
||||
/* Filter device list to non-keyboard/mouse stuff */
|
||||
if ( device->usagePage == kHIDPage_GenericDesktop &&
|
||||
(device->usage != kHIDUsage_GD_Joystick ||
|
||||
(device->usage != kHIDUsage_GD_Joystick &&
|
||||
device->usage != kHIDUsage_GD_GamePad)) {
|
||||
|
||||
/* release memory for the device */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user