The Alt key, or Option key on Mac style keyboards.
The Control key.
The Windows key, or Command key on Mac style keyboards.
What KeyboardEvent.mmkCode is required for this simple key combination to match.
What KeyboardEvent.mmkKey is required for this simple key combination to match.
The Shift key.
Generated using TypeDoc
Describes a simple key combination that requires no external state tracking (other held keys, keys within N milliseconds, etc.) to fire. For example,
Alt+F4would possibly be represented by:{ mmkKey: "F4", alt: true }Or if you wanted only
Alt+F4and to excludeAlt+Ctrl+F4and other modifier combinations:{ mmkKey: "F4", alt: true, shift: false, ctrl: false, meta: false }