OptionalaffectWhether this global key fires before the layer broadcast (true)
or after it (false, the default).
OptionalcategoryWhitelist of screen components that may use this global key.
"*" or omitted matches all screens; [] disables the key.
OptionalcoverWhether screen components are allowed to override this global key
via boundKeyboard. Defaults to true.
OptionalexecuteWhen true, an overlay-phase entry (affectLayer: true) fires even
while no layer is open. Only relevant when affectLayer is true.
Key name(s) to match, in the same normalized format as boundKeyboard.
OptionalmodeRestrict this global key to a specific mode; when omitted it fires in all modes (including no-mode).
OptionalobserverCallback invoked on every key press while counting toward times,
receiving the number of remaining presses before the handler fires.
The callback to invoke when the key is pressed — string action references have already been resolved to their callbacks.
OptionalpressCurrent press count — initialized to 0 when times is set,
incremented on each matching press, and reset to 0 once the
counter reaches times and the handler fires.
OptionaltimesNumber of presses required before the handler fires. Semantics are identical to GlobalKeyEntry.times.
OptionalwhenOptional condition — when it evaluates to false the entry is
skipped entirely.
Internal type: GlobalKeyEntry after string
operatereferences have been resolved to callable functions andpressCounthas been initialized for entries with atimesoption.Used by the keyboard provider's refs after
globalKeys()resolves action IDs. Public API continues to acceptGlobalKeyEntrywithoperate: string | (() => void).