1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-05 08:26:28 +00:00

Ensures final thing in a key sequence is fully typed; adds ability to quicken input.

This commit is contained in:
Thomas Harte
2020-02-29 18:12:32 -05:00
parent bd45c1c963
commit 4594a3c02b
4 changed files with 54 additions and 15 deletions

View File

@@ -150,3 +150,7 @@ uint16_t *CharacterMapper::sequence_for_character(char character) {
return table_lookup_sequence_for_character(key_sequences, sizeof(key_sequences), character);
}
bool CharacterMapper::needs_pause_after_key(uint16_t key) {
return key != KeyControl && key != KeyShift;
}