kohi icon indicating copy to clipboard operation
kohi copied to clipboard

[BUG] Pressing and releasing both shift keys only results in a single key-up event

Open travisvroman opened this issue 3 years ago • 1 comments

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:

  1. Open the engine
  2. Press the left shift key and hold
  3. Press the right shift key and hold
  4. Release the left shift key while still holding the right - note no event is fired
  5. Release the right shift key, note the event is fired.
  6. 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.

travisvroman avatar Sep 10 '21 17:09 travisvroman

Confirmed this does not happen on Linux.

travisvroman avatar Feb 01 '22 12:02 travisvroman