Work in progress. This is an old jQuery plugin of mine that I'm converting to native and browserify standards.
Following is the original readme:
a jQuery plugin - binds keyboard events to functions (hotkeys, sequences)
[homepage][]
[developer][] [homepage]: http://therebelrobot.com/keyBinder/ "Visit Homepage" [developer]: http://therebelrobot.com/ "Developer Site"
- Integrated jQuery functionality
- Single key mapping
- Dual/Triple key mapping
- Sequence Mapping
- Callback functions
backspace | tab | enter | esc | space |
shift | ctrl | alt | leftSuper | rightSuper |
pause | capsLock | numLock | scrLock | delete |
pgup | pgdown | end | home | insert |
pgup | pgdown | end | home | insert |
left | up | right | down | 0-9 -- top of keyboard |
a-z | select | num0-num9 -- right of keyboard | add -- right of keyboard | sub -- right of keyboard |
mult -- right of keyboard | div -- right of keyboard | decPoint -- right of keyboard | f1-f12 | backTick -- "`" |
fSlash | bSlash | openBracket -- "[" | closeBracket -- "]" | equal |
dash | comma | period | semiColon | quote |