mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-26 03:29:40 +00:00
Simplify test.
This commit is contained in:
@@ -149,5 +149,5 @@ const uint16_t *CharacterMapper::sequence_for_character(char character) const {
|
||||
}
|
||||
|
||||
bool CharacterMapper::needs_pause_after_key(uint16_t key) const {
|
||||
return key != KeyControl && key != KeyShift && key != KeyFunc;
|
||||
return !is_modifier(Key(key));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user