Skip to content

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

@floooh

Description

@floooh

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions