Expand description
Parse key combinations such as cmd+shift+4.
Structs§
- KeyCombo
- Modifiers plus the final key from a combo string.
Functions§
- canonical_
key - Normalize aliases (
esc,return,arrow_left) to one spelling. - is_
known_ key - A canonical name or a single character. Unknown words are not keys.
- macos_
function_ gap - macOS has virtual keycodes for F13–F20. F21–F24 are known names and still unsupported there.
- parse_
key_ combo - Parse
cmd+shift+4,ctrl+alt+delete, or a bare key such asenter. - parse_
key_ sequence - Split a space-separated sequence such as
ctrl+a Deleteinto combos.