Hotkeys Docs
API Reference
Hotkeys API Reference
- HotkeyManager
- getHotkeyManager
- Hotkey
- HotkeyChord
- HotkeySequence
- RegisterableHotkey
- RegisterableHotkeyChord
- RegisterableHotkeySequence
- RawHotkeyChord
- HotkeyOptions
- HotkeyChordOptions
- HotkeySequenceOptions
- HotkeyOptionsFor
- HotkeyRegistrationHandle
- HotkeyRegistrationView
- HotkeyChordRegistrationView
- HotkeySequenceRegistrationView
- toHotkeyRegistrationView
- HotkeyCallback
- HotkeyCallbackContext
- HotkeyChordCallbackContext
- HotkeySequenceCallbackContext
- HotkeyCallbackContextFor
- HotkeyMeta
- ConflictBehavior
- isHotkeySequence
- simplifyHotkey
- createSequenceMatcher
- DEFAULT_SEQUENCE_TIMEOUT
- createHotkey
- createHotkeyRegistrations
- createHotkeys
- useDefaultHotkeysOptions
- useHotkeysContext
- HotkeysProviderOptions
- HotkeysProviderProps
- CreateHotkeyChordOptions
- CreateHotkeyCommonOptions
- CreateHotkeyDefinition
- CreateHotkeyOptions
- CreateHotkeyOptionsFor
- CreateHotkeySequenceOptions
- CreateHotkeyTarget
- HotkeysProvider
App Hotkeys API Reference
- defineAppHotkeys
- AppHotkeysStore
- provideAppHotkeys
- publishAppHotkeysStore
- AppHotkey
- AppHotkeyInput
- AppHotkeyOptions
- AppHotkeyListItem
- AppHotkeyStatus
- AppHotkeysState
- AppHotkeysStoreOptions
- CustomHotkeys
- Register
- AppHotkeyId
- RegisteredAppHotkeys
- isAppHotkey
- isCustomHotkey
- resolveAppHotkey
- createAppHotkeyList
- useAppHotkeys
- useCustomHotkeys
- UseCustomHotkeysResult
- CreateAppHotkeyOptions
Key hold & held keys API Reference
Hotkey Recorder API Reference
- HotkeyRecorder
- HotkeyRecorderOptions
- HotkeyChordRecorderOptions
- HotkeySequenceRecorderOptions
- HotkeyRecorderState
- HotkeyRecorderCommitKeys
- HotkeyRecorderValidationContext
- HotkeyChordRecorderValidationContext
- HotkeySequenceRecorderValidationContext
- RecorderOptions
- RecorderRejection
- RecorderKeyMode
- findHotkeyConflicts
- HotkeyConflict
- HotkeyConflictOptions
- createHotkeyRecorder
- SolidHotkeyRecorder
Normalization & format API Reference
- formatForDisplay
- FormatDisplayOptions
- DisplayHotkey
- DisplayHotkeyChord
- formatHotkey
- normalizeHotkey
- parseHotkey
- parseKeyboardEvent
- ParsedHotkeyChord
- matchesKeyboardEvent
- areHotkeysEqual
- validateHotkey
- checkHotkey
- assertValidHotkey
- ValidationResult
- ValidatableHotkey
- LogicalKey
- PhysicalKey
- PhysicalKeyCode
- KEY_DISPLAY_SYMBOLS
- PUNCTUATION_KEY_DISPLAY_LABELS
- MAC_MODIFIER_SYMBOLS
- MAC_MODIFIER_LABELS
- WINDOWS_MODIFIER_LABELS
- LINUX_MODIFIER_LABELS
- MODIFIER_ALIASES
- MODIFIER_ORDER
- MODIFIER_KEYS
AI/LLM: This documentation page is available in plain markdown format at/hotkeys/latest/docs/framework/solid/reference/interfaces/SolidHotkeyRecorder.md
Hotkey Recorder API Reference
SolidHotkeyRecorder
Defined in: createHotkeyRecorder.ts:14
Type Parameters#
THotkey#
THotkey extends Hotkey = Hotkey
Properties#
cancelRecording#
ts
cancelRecording: () => void;Defined in: createHotkeyRecorder.ts:26
Cancel recording and call onCancel
Returns#
void
commitRecording#
ts
commitRecording: () => void;Defined in: createHotkeyRecorder.ts:28
Commit the recorded steps now (multi-step recordings)
Returns#
void
isRecording#
ts
isRecording: () => boolean;Defined in: createHotkeyRecorder.ts:16
Whether recording is currently active
Returns#
boolean
recordedHotkey#
ts
recordedHotkey: () => THotkey | null;Defined in: createHotkeyRecorder.ts:20
The last committed hotkey
Returns#
THotkey | null
startRecording#
ts
startRecording: () => void;Defined in: createHotkeyRecorder.ts:22
Start recording a new hotkey
Returns#
void
steps#
ts
steps: () => HotkeySequence;Defined in: createHotkeyRecorder.ts:18
Chords recorded so far in a multi-step recording (for live preview)
Returns#
HotkeySequence
stopRecording#
ts
stopRecording: () => void;Defined in: createHotkeyRecorder.ts:24
Stop recording without calling onCancel
Returns#
void