Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Attempt #3: Fixed boolean logic bug that caused all HID joysticks to be
rejected on MacOSX/Darwin. Works now. No, really this time.  --ryan.
  • Loading branch information
icculus committed May 22, 2003
1 parent b0bde73 commit a70f77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/darwin/SDL_sysjoystick.c
Expand Up @@ -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 */
Expand Down

0 comments on commit a70f77d

Please sign in to comment.