disable hack

This commit is contained in:
AJ Kelly
2011-02-23 04:33:31 -06:00
parent 245b03fc46
commit 471236d29d
+3 -1
View File
@@ -1432,7 +1432,7 @@ bool HandleGlobalInputs( const InputEventPlus &input )
void HandleInputEvents(float fDeltaTime)
{
INPUTFILTER->Update( fDeltaTime );
/* Hack: If the topmost screen hasn't been updated yet, don't process input, since
* we must not send inputs to a screen that hasn't at least had one update yet. (The
* first Update should be the very first thing a screen gets.) We'll process it next
@@ -1455,6 +1455,7 @@ void HandleInputEvents(float fDeltaTime)
swap( input.InputList, ieArray[i].m_ButtonState );
// hack for testing (MultiPlayer) with only one joystick
/*
if( input.DeviceI.IsJoystick() )
{
if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD,KEY_LSHIFT) ) )
@@ -1468,6 +1469,7 @@ void HandleInputEvents(float fDeltaTime)
if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD,KEY_RCTRL) ) )
input.DeviceI.device = (InputDevice)(input.DeviceI.device + 16);
}
*/
INPUTMAPPER->DeviceToGame( input.DeviceI, input.GameI );