mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-08 01:45:32 +00:00
feat(linux): ensureValidInputForKeyboardTranslation more
This commit is contained in:
parent
f6a969b111
commit
17eea39b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ int convert_Shiftstate_to_LinuxShiftstate(int shiftState) {
|
|||
|
||||
bool ensureValidInputForKeyboardTranslation(int shiftstate, gint count, gint keycode) {
|
||||
|
||||
// We're dealing with shiftstates 0,1,2,3 or shiftstates 0,1,6,7
|
||||
// We're dealing with shiftstates 0,1,2,3 (Lin) or shiftstates 0,1,6,7 (rgkey)
|
||||
if (shiftstate < 0 || shiftstate > 7)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue