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.
MIT License
158
stars
6
forks
source link
Allow binding and unbinding multiple key/keyCombos at once #26
This PR introduces the ability to bind more than one key/keyCombo at the same time - bindKey and bindKeyCombo can take an array of keys/combos now. This is also true in regards to unbindKey and unbindKeyCombo as well.
This PR introduces the ability to bind more than one key/keyCombo at the same time - bindKey and bindKeyCombo can take an array of keys/combos now. This is also true in regards to unbindKey and unbindKeyCombo as well.
Thanks to @qiongshusheng for the suggestion.