combokeys
Version:
Handles keyboard shortcuts in the browser
29 lines (28 loc) • 455 B
JavaScript
/* eslint-env node, browser */
/**
* mapping for special characters so they can support
*
* this dictionary is only used incase you want to bind a
* keyup or keydown event to one of these keys
*
* @type {Object}
*/
module.exports = {
106: '*',
107: 'plus',
109: 'minus',
110: '.',
111: '/',
186: ';',
187: '=',
188: ',',
189: '-',
190: '.',
191: '/',
192: '`',
219: '[',
220: '\\',
221: ']',
222: "'"
}