src/joystick/darwin/SDL_sysjoystick.c
changeset 621 c3bb1270fa2b
parent 620 92080b127f82
child 622 e6d751de784a
--- a/src/joystick/darwin/SDL_sysjoystick.c	Thu May 22 06:41:54 2003 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Thu May 22 07:12:36 2003 +0000
@@ -648,7 +648,7 @@
 		/* Filter device list to non-keyboard/mouse stuff */ 
 		if ( device->usagePage == kHIDPage_GenericDesktop &&
 		     (device->usage != kHIDUsage_GD_Joystick ||
-		      device->usage != kHIDUsage_GD_Gamepad)) {
+		      device->usage != kHIDUsage_GD_GamePad)) {
 
 			/* release memory for the device */
 			HIDDisposeDevice (&device);