Craft icon indicating copy to clipboard operation
Craft copied to clipboard

Keyboard buffering causes control lag

Open hosford42 opened this issue 5 years ago • 1 comments

When holding down a key, the keyboard buffer fills, causing the associated behavior to continue afterward for some time. For example, if I hold down the W key for a few seconds, the character continues to move forward for some time after releasing the key. This makes the game very difficult to play. Using keyboard events (key down/key up) instead of buffered keyboard input would eliminate this issue.

hosford42 avatar Aug 24 '19 04:08 hosford42

As I understand, you are suggesting using the GLFW event delivery to track keyup/keydown, and storing the state somewhere, probably in the Model struct?

twetzel59 avatar Jan 06 '20 02:01 twetzel59