feat(linux): ensureValidInputForKeyboardTranslation more

This commit is contained in:
Sabine 2024-07-04 15:00:57 +02:00
parent f6a969b111
commit 17eea39b4b

View file

@ -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;