Home | History | Annotate | Download | only in front-end

Lines Matching refs:keyCode

84  * Creates a number encoding keyCode in the lower 8 bits and modifiers mask in the higher 8 bits.
86 * keyCode is the Code of the key, or a character "a-z" which is converted to a keyCode value.
89 WebInspector.KeyboardShortcut.makeKey = function(keyCode, optModifiers)
91 if (typeof keyCode === "string")
92 keyCode = keyCode.charCodeAt(0) - 32;
96 return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyCode, modifiers);
110 return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyboardEvent.keyCode, modifiers);
113 WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers = function(keyCode, modifiers)
115 return (keyCode & 255) | (modifiers << 8);