Simplify InputQueue: use InputEventPlus. This has the
timestamp it needs, and we can match MenuI from it without doing extra conversions.
This commit is contained in:
@@ -1402,7 +1402,7 @@ void HandleInputEvents(float fDeltaTime)
|
||||
INPUTMAPPER->DeviceToGame( input.DeviceI, input.GameI );
|
||||
|
||||
if( input.GameI.IsValid() && input.type == IET_FIRST_PRESS )
|
||||
INPUTQUEUE->RememberInput( input.GameI );
|
||||
INPUTQUEUE->RememberInput( input );
|
||||
if( input.GameI.IsValid() )
|
||||
{
|
||||
INPUTMAPPER->GameToMenu( input.GameI, input.MenuI );
|
||||
|
||||
Reference in New Issue
Block a user