kohi
kohi copied to clipboard
[BUG] Pressing and releasing both shift keys only results in a single key-up event
Describe the bug If the user presses both left and right shift keys, releases one, then the other, an event is only fired when the second key is released. Note that this seems to be a limitation in the Windows API layer not firing events until the last key is pressed.
To Reproduce Steps to reproduce the behavior:
- Open the engine
- Press the left shift key and hold
- Press the right shift key and hold
- Release the left shift key while still holding the right - note no event is fired
- Release the right shift key, note the event is fired.
- Try this with any combination/order of left/right shift key presses.
Expected behavior An event should fire every time a key is released.
Screenshots N/A
Desktop (please complete the following information):
- OS: Windows 10
Additional context Add any other context about the problem here.
Confirmed this does not happen on Linux.