hack for testing 32 joysticks

This commit is contained in:
Chris Danford
2006-04-21 00:15:35 +00:00
parent 8c31297dac
commit 82c56f6589
+4
View File
@@ -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 );