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

Reminder: reason for rare stuck-key problem identified #20

Open
floooh opened this issue Jul 19, 2021 · 1 comment
Open

Reminder: reason for rare stuck-key problem identified #20

floooh opened this issue Jul 19, 2021 · 1 comment
Assignees
Labels

Comments

@floooh
Copy link
Owner

floooh commented Jul 19, 2021

The problem are shift-combinations like here:

case SAPP_KEYCODE_SPACE: c = shift ? 0x5B : 0x20; break; /* 0x5B: neg space, 0x20: space */

If the keydown happened with shift, and the keyup without shift (or vice versa), then the key will get stuck. Especially with the Spacebar this can happen accidentially when the next character requires the shift key.

@floooh floooh added the bug label Jul 19, 2021
@floooh floooh self-assigned this Jul 19, 2021
@floooh
Copy link
Owner Author

floooh commented Dec 28, 2022

Fixed in:

  • kc85
  • cpc
  • c64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant