updateState

abstract fun updateState(@NotNull action: @NotNull Hotkey.Action)

Updates the pressed state of the hotkey based on a given action.

Parameters

action

The action that triggered the state change.