Hacker News new | ask | show | jobs
by agscala 5044 days ago
Possibly one of these will be useful:

https://github.com/madrobby/keymaster

https://github.com/ccampbell/mousetrap

1 comments

Thanks for the js library recommendations. I've taken a look at keymaster, and it's mostly focused around modifier keys used in shortcuts. I'm currently using google closure library, but I will need to add more key recognition and failsafes in case there is a unrecognized keyboard layout.