update State
Updates the pressed state of the hotkey based on a given action.
Parameters
action
The action that triggered the state change.
Updates the pressed state of the hotkey based on a given action.
The action that triggered the state change.