1 repository
Parsing textual shortcut definitions into structured objects for UI display.
Distinct from String Parsing: Specific to keybinding syntax for UI representation
Explore 1 awesome GitHub repository matching programming languages & runtimes · Keybinding. Refine with filters or upvote what's useful.
Tinykeys is a lightweight JavaScript utility for mapping keyboard combinations, sequences, and regular expression patterns to specific callback functions. It serves as an input mapping utility that triggers actions based on simultaneous modifier key presses or chronological key sequences. The library distinguishes itself by supporting dynamic key pattern matching through regular expressions and state-based sequence tracking to execute actions after a specific series of presses. It also includes a keyboard event parser that converts human-readable shortcut strings into structured data. These
Converts shortcut strings into structured arrays of modifiers and keys for custom user interface display.