Lines Matching full:keycode
131 var modifierWithKeyCode = keyCodeToModifier[e.keyCode];
133 // if e.keyCode is one of Shift, Ctrl and Alt, isPressed should
236 * keycode: 'd', modifiers: ['CTRL', 'SHIFT'] => 'd<>CTRL<>SHIFT'
237 * keycode: 'alt', modifiers: ['ALT', 'SHIFT'] => 'ALT<>SHIFT'
239 function getAction(keycode, modifiers) {
241 if (keycode.toUpperCase() in MODIFIER_TO_CLASS) {
242 keycode = keycode.toUpperCase();
243 if (keycode in modifiers) {
246 var action = [keycode].concat(modifiers)
251 return [keycode].concat(modifiers).join(SEPARATOR);