News for hackers. Stuff that matters.
Re:Keymaster.js: painless keyboard shortcuts for javascript by TrevorBurnham on Monday September 05, 2011 @08:15PM (#2963665)
In case anyone wants it, here's my unicode-friendly fork of jQuery Hotkeys: https://github.com/TrevorBurnham/jquery.hotkeys

Note that because of the way the library works, you can only use the unicode equivalents on this fork—aliases like "ctrl" and "alt" will not work. (jQuery Hotkeys was written with a pretty hardcore approach to efficiency, so everything is 1:1. Keymaster uses an `indexOf` search each time a key is pressed, which has a negligible impact on performance in modern browsers.)

There are no comments on this comment yet.