Browse Source

compilation fix for non-joystick platforms

Pal Lockheart 6 years ago
parent
commit
5a8acf83c4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      input.c

+ 4 - 0
input.c

@@ -623,6 +623,8 @@ PAL_JoystickEventFilter(
 #endif
 }
 
+#if PAL_HAS_JOYSTICKS
+
 static VOID
 PAL_UpdateJoyStickState(
 VOID
@@ -675,6 +677,8 @@ VOID
    }
 }
 
+#endif
+
 #if PAL_HAS_TOUCH
 
 #define  TOUCH_NONE    0