1
0
Fork 0

more recent MS Windows systems reportedly support more than two joysticks,

so we need to rely on plib to tell us
This commit is contained in:
mfranz 2007-04-01 22:22:05 +00:00
parent 8a6c95451b
commit 851e860b52

View file

@ -151,12 +151,7 @@ private:
enum enum
{ {
MAX_KEYS = 1024, MAX_KEYS = 1024,
#ifdef WIN32
MAX_JOYSTICKS = 2,
#else
MAX_JOYSTICKS = 10, MAX_JOYSTICKS = 10,
#endif
MAX_JOYSTICK_AXES = _JS_MAX_AXES, MAX_JOYSTICK_AXES = _JS_MAX_AXES,
MAX_JOYSTICK_BUTTONS = 32, MAX_JOYSTICK_BUTTONS = 32,