Last active
June 10, 2016 12:38
-
-
Save getflourish/5e891f89152edf0234e323afdbd56e1f to your computer and use it in GitHub Desktop.
Keymaster setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
** Keymaster understands the following modifiers: ⇧, shift, option, ⌥, alt, ctrl, control, command, and ⌘. | |
** The following special keys can be used for shortcuts: backspace, tab, clear, enter, return, esc, escape, space, | |
** up, down, left, right, home, end, pageup, pagedown, del, delete and f1 through f19. | |
** | |
*/ | |
key('a', function(){ alert('you pressed a!') }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment