src/joystick/darwin/SDL_sysjoystick.c
changeset 622 e6d751de784a
parent 621 c3bb1270fa2b
child 623 477917048b91
--- a/src/joystick/darwin/SDL_sysjoystick.c	Thu May 22 07:12:36 2003 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu May 22 20:42:37 2003 +0000
@@ -647,7 +647,7 @@
 
 		/* 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 */