Instead of a single `bool` indicating that a key press has occured and no key has been released since then, we store the scancode of the last pressed key (if it is a key that repeats when held). This fixes a bug where pressing a new key while one is already held down will be flagged as a repeat even though it is obviously not a repeat. |
||
|---|---|---|
| .. | ||
| keymap.rs | ||
| mod.rs | ||
| xkb_state.rs | ||