From 82c56f6589a7bb9878d3b3591eba407e233bf137 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 21 Apr 2006 00:15:35 +0000 Subject: [PATCH] hack for testing 32 joysticks --- stepmania/src/StepMania.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 8db164977c..6d37007209 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1374,6 +1374,10 @@ void HandleInputEvents(float fDeltaTime) input.DeviceI.device = (InputDevice)(input.DeviceI.device + 2); if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD,KEY_LALT) ) ) input.DeviceI.device = (InputDevice)(input.DeviceI.device + 4); + if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD,KEY_RALT) ) ) + input.DeviceI.device = (InputDevice)(input.DeviceI.device + 8); + if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD,KEY_RCTRL) ) ) + input.DeviceI.device = (InputDevice)(input.DeviceI.device + 16); } INPUTMAPPER->DeviceToGame( input.DeviceI, input.GameI );