Format for Display API Reference

MODIFIER_KEYS

Variable: MODIFIER_KEYS

ts
const MODIFIER_KEYS: Set<string>;

Defined in: constants.ts:79

Set of canonical modifier key names for fast lookup.

Derived from MODIFIER_ORDER to ensure consistency. Used to detect when a modifier is released so we can clear non-modifier keys whose keyup events may have been swallowed by the OS (e.g. macOS Cmd+key combos).