Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
travisvroman opened this issue Sep 10, 2021 · 1 comment
Assignees
Labels
bug Something isn't working Windows Affects Windows Operating System

Comments

@travisvroman
Copy link
Owner

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 travisvroman added the bug Something isn't working label Sep 10, 2021
@travisvroman travisvroman self-assigned this Sep 10, 2021
@travisvroman
Copy link
Owner Author

Confirmed this does not happen on Linux.

@travisvroman travisvroman added the Windows Affects Windows Operating System label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Affects Windows Operating System
Projects
None yet
Development

No branches or pull requests

1 participant