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.
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 action key mode
– 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). action key mode