ReadonlyaltReadonlyauthoredReadonlycharacterReadonlyctrlReadonlyinterpretationReadonlykeyReadonlylayoutReadonlymetaReadonlyphysicalWhether the authored token denotes a physical scan code rather than a logical character.
ReadonlyshiftReadonlysupportedWhether the authored logical character is available on the active keyboard layout.
Return the runtime match identity used for keybinding dispatch. The interpretation is diagnostic metadata and does not affect this identity.
Return true if this KeyCode only contains modifiers.
Derive an authored keybinding stroke from a key event for recorder persistence.
This cannot use toString: event-derived key codes have no authoredToken, so toString would persist
the physical US key name instead of the committed logical character. Non-printable keys, Space and numpad keys are
persisted by name; printable keys without a committed character are persisted as scan codes.
Return a keybinding string that round-trips the authored spelling through authoredToken.
StaticcreateCreate a KeyCode from one of several input types.
StaticparseParses a string and returns a KeyCode object.
String representation of a keybinding
StaticresetReset the key hashmap, this is for testing purposes.
Representation of a pressed key combined with key modifiers.