Defined in: types.ts:40
Sequence recording state and controls.
cancelRecording: () => void;Defined in: types.ts:52
Discard the current session and call onCancel.
void
commitRecording: () => void;Defined in: types.ts:54
Commit the current steps. Does nothing when no steps are recorded.
void
readonly isRecording: boolean;Defined in: types.ts:42
Whether the recorder is listening for chords.
readonly recordedSequence: HotkeySequence | null;Defined in: types.ts:46
The last committed sequence.
startRecording: () => void;Defined in: types.ts:48
Start a new recording session.
void
readonly steps: HotkeySequence;Defined in: types.ts:44
Chords captured in the current session.
stopRecording: () => void;Defined in: types.ts:50
Stop without committing or calling onCancel.
void