Run keyboard command processing on every key event to make sure none are missed.
This commit is contained in:
parent
b810164759
commit
739dc2a16d
|
@ -1190,6 +1190,8 @@ UpdatePhysicalInput ()
|
|||
|
||||
g_keyState[ event.key.keysym.scancode ] = (event.type == SDL_KEYDOWN) ? 1 : 0;
|
||||
|
||||
KeyboardCommands();
|
||||
|
||||
break;
|
||||
case SDL_JOYDEVICEADDED:
|
||||
AddJoystick( event.jdevice.which );
|
||||
|
|
Loading…
Reference in New Issue