Defined in: key-state-tracker.ts:9
State interface for the KeyStateTracker.
heldCodes: Record<string, string>;Defined in: key-state-tracker.ts:18
Map from normalized key name to the physical event.code (e.g. "KeyA", "ShiftLeft"). Useful for debugging which physical key was pressed.
heldKeys: string[];Defined in: key-state-tracker.ts:13
Array of currently held key names (normalized, e.g. "Control", "A").