switch from start / stop one-handed mode key codes to a toggle code

mainly so there is no awkward state-dependent key code on the toolbar key
This commit is contained in:
Helium314 2025-01-26 09:48:21 +01:00
parent 5afb1e3a0c
commit 419c0d847b
8 changed files with 18 additions and 19 deletions

View file

@ -224,8 +224,7 @@ public final class Constants {
case CODE_TAB: return "tab";
case CODE_ENTER: return "enter";
case CODE_SPACE: return "space";
case KeyCode.START_ONE_HANDED_MODE: return "startOneHandedMode";
case KeyCode.STOP_ONE_HANDED_MODE: return "stopOneHandedMode";
case KeyCode.TOGGLE_ONE_HANDED_MODE: return "toggleOneHandedMode";
case KeyCode.SWITCH_ONE_HANDED_MODE: return "switchOneHandedMode";
case KeyCode.NUMPAD: return "numpad";
default: