From 8c31297dacf3944ef0048ee443736fc9cc8bac1b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 21 Apr 2006 00:13:46 +0000 Subject: [PATCH] 32 joysticks --- stepmania/src/RageInputDevice.cpp | 16 ++++++++++++++++ stepmania/src/RageInputDevice.h | 18 +++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageInputDevice.cpp b/stepmania/src/RageInputDevice.cpp index 179c47d817..22c6146350 100644 --- a/stepmania/src/RageInputDevice.cpp +++ b/stepmania/src/RageInputDevice.cpp @@ -225,6 +225,22 @@ static const char *InputDeviceNames[] = { "Joy14", "Joy15", "Joy16", + "Joy17", + "Joy18", + "Joy19", + "Joy20", + "Joy21", + "Joy22", + "Joy23", + "Joy24", + "Joy25", + "Joy26", + "Joy27", + "Joy28", + "Joy29", + "Joy30", + "Joy31", + "Joy32", "Pump1", "Pump2", "Midi", diff --git a/stepmania/src/RageInputDevice.h b/stepmania/src/RageInputDevice.h index af42738aaf..49d5b0d76a 100644 --- a/stepmania/src/RageInputDevice.h +++ b/stepmania/src/RageInputDevice.h @@ -5,7 +5,7 @@ #include "RageTimer.h" #include "EnumHelper.h" -const int NUM_JOYSTICKS = 16; +const int NUM_JOYSTICKS = 32; const int NUM_PUMPS = 2; enum InputDevice @@ -27,6 +27,22 @@ enum InputDevice DEVICE_JOY14, DEVICE_JOY15, DEVICE_JOY16, + DEVICE_JOY17, + DEVICE_JOY18, + DEVICE_JOY19, + DEVICE_JOY20, + DEVICE_JOY21, + DEVICE_JOY22, + DEVICE_JOY23, + DEVICE_JOY24, + DEVICE_JOY25, + DEVICE_JOY26, + DEVICE_JOY27, + DEVICE_JOY28, + DEVICE_JOY29, + DEVICE_JOY30, + DEVICE_JOY31, + DEVICE_JOY32, DEVICE_PUMP1, DEVICE_PUMP2, DEVICE_MIDI,