Action Key Mode Site

if key == ACTION_KEY: action_key_pressed = pressed if pressed: show_action_mode_hint() else: hide_action_mode_hint() return True # consume event, do not pass to default handler

1. Executive Summary Action Key Mode transforms a standard modifier key (e.g., Left Alt , Caps Lock , or a dedicated thumb key) into a temporary mode switch . While held, every other key press performs a secondary, high-value action rather than its default character or command. Release the Action Key, and the system returns instantly to the default mode. action key mode

| Channel | Recommended Feedback | |---------|----------------------| | | A semi-transparent bar at bottom of screen: "ACTION MODE – [H] Help, [S] Save, [Q] Quit" | | Cursor change | Cursor icon adds a small diamond or A⚡ badge | | Key rollover highlight (if on-screen keyboard) | All action-bound keys glow with a colored outline | | Haptic (gamepad / touch) | Short, soft buzz upon entering mode | | Audio (optional) | Single low-volume click on press; no click on release | Pro tip : While Action Key is held, tooltips can show the action binding next to UI elements (e.g., next to a button: Save [A+S] ). 5. Implementation Notes (for Developers) 5.1 Input Handling Flow (Pseudocode) action_key_pressed = False def on_key_event(key, pressed): global action_key_pressed if key == ACTION_KEY: action_key_pressed = pressed if

if action_key_pressed and pressed: # Action Key is held, and another key was just pressed action = action_bindings.get(key, None) if action: execute(action) else: # Optional: play 'invalid action' feedback play_error_sound() return True # consumed – do NOT type the character Release the Action Key, and the system returns

– The same physical key always does the same action when the thumb is down. That’s easier than remembering different modifier positions (Ctrl vs Alt vs Win).