From 17eea39b4b9ef704cdc8e54268ec7fcf91202caa Mon Sep 17 00:00:00 2001 From: Sabine Date: Thu, 4 Jul 2024 15:00:57 +0200 Subject: [PATCH] feat(linux): ensureValidInputForKeyboardTranslation more --- linux/mcompile/keymap/keymap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/mcompile/keymap/keymap.cpp b/linux/mcompile/keymap/keymap.cpp index 1d6c65bbf7..ad559ce38f 100644 --- a/linux/mcompile/keymap/keymap.cpp +++ b/linux/mcompile/keymap/keymap.cpp @@ -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;