Skip to main content

RawModifiers

Defined in: hotkey.types.ts:185

Modifier flags shared by logical-key and physical-code registrations.

Properties

alt?

optional alt?: boolean;

Defined in: hotkey.types.ts:194

Whether the Alt key is required. Defaults to false.


ctrl?

optional ctrl?: boolean;

Defined in: hotkey.types.ts:190

Whether the Control key is required. Defaults to false.


meta?

optional meta?: boolean;

Defined in: hotkey.types.ts:196

Whether the Meta (Command) key is required. Defaults to false.


mod?

optional mod?: boolean;

Defined in: hotkey.types.ts:188

Platform-adaptive modifier: Command on macOS, Control on Windows/Linux. Defaults to false.


shift?

optional shift?: boolean;

Defined in: hotkey.types.ts:192

Whether the Shift key is required. Defaults to false.