Keystrokes icon indicating copy to clipboard operation
Keystrokes copied to clipboard

Keystrokes as an easy to use library for binding functions to keys and key combos. It can be used with any TypeScript or JavaScript project, even in non-browser environments.

Results 3 Keystrokes issues
Sort by recently updated
recently updated
newest added

**Describe the bug** If you are binding some keys separately, e.g. ```js const coords = { x: 0, y: 0 }; bindKey('w', () => coords.x += 1 ); bindKey('a', ()...

Originally reported by @noahbrom in #19 **Describe the bug** If you use the keystrokes test instance, it will not implement the same interface for events that the browser bindings, which...

**Describe the bug** Consider this code: `useKeyCombo("meta + enter")`. When I use this sequence: - press `meta` - press `enter` - event fires - release `enter` - press `enter` -...

enhancement