src/joystick/windows/SDL_dinputjoystick.c
changeset 9654 b9488c689ce3
parent 9619 b94b6d0bff0f
child 9658 9753468b5c0e
--- a/src/joystick/windows/SDL_dinputjoystick.c	Tue May 26 22:57:42 2015 -0400
+++ b/src/joystick/windows/SDL_dinputjoystick.c	Wed May 27 10:29:43 2015 -0700
@@ -342,7 +342,7 @@
     JoyStick_DeviceData *pPrevJoystick = NULL;
     const DWORD devtype = (pdidInstance->dwDevType & 0xFF);
 
-    if ((devtype != DI8DEVTYPE_JOYSTICK) && (devtype != DI8DEVTYPE_GAMEPAD)) {
+    if ((devtype != DI8DEVTYPE_JOYSTICK) && (devtype != DI8DEVTYPE_GAMEPAD) && (devtype != DI8DEVTYPE_1STPERSON)) {
         return DIENUM_CONTINUE;  /* Ignore touchpads, etc. */
     }