src/joystick/darwin/SDL_sysjoystick.c
changeset 2097 b0048df1701a
parent 1895 c121d94672cb
child 2109 51cbe188a49e
--- a/src/joystick/darwin/SDL_sysjoystick.c	Wed Mar 14 01:10:43 2007 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Sun Mar 18 22:39:24 2007 +0000
@@ -690,9 +690,10 @@
 */
 
         /* Filter device list to non-keyboard/mouse stuff */
-        if ((device->usagePage != kHIDPage_GenericDesktop) ||
-            ((device->usage != kHIDUsage_GD_Joystick &&
-              device->usage != kHIDUsage_GD_GamePad))) {
+        if ( (device->usagePage != kHIDPage_GenericDesktop) ||
+             ((device->usage != kHIDUsage_GD_Joystick &&
+               device->usage != kHIDUsage_GD_GamePad &&
+               device->usage != kHIDUsage_GD_MultiAxisController)) ) {
 
             /* release memory for the device */
             HIDDisposeDevice(&device);