]> git.mxchange.org Git - flightgear.git/commitdiff
more recent MS Windows systems reportedly support more than two joysticks,
authormfranz <mfranz>
Sun, 1 Apr 2007 22:22:05 +0000 (22:22 +0000)
committermfranz <mfranz>
Sun, 1 Apr 2007 22:22:05 +0000 (22:22 +0000)
so we need to rely on plib to tell us

src/Input/input.hxx

index ca15e458d873a1eb33f0ea7e0e8b1c7f469894ea..7a981b0fac2bcd2b00c5b8547a193136c373c078 100644 (file)
@@ -151,12 +151,7 @@ private:
   enum 
   {
     MAX_KEYS = 1024,
-
-  #ifdef WIN32
-    MAX_JOYSTICKS = 2,
-  #else
     MAX_JOYSTICKS = 10,
-  #endif
     MAX_JOYSTICK_AXES = _JS_MAX_AXES,
     MAX_JOYSTICK_BUTTONS = 32,