Lines Matching refs:keycode
201 function keysymFromKeyCode(keycode, shiftPressed) { argument
202 if (typeof(keycode) !== 'number') {
206 if (keycode >= 0x30 && keycode <= 0x39) {
207 return keycode; // digit
209 if (keycode >= 0x41 && keycode <= 0x5a) {
211 return shiftPressed ? keycode : keycode + 32; // A-Z
213 if (keycode >= 0x60 && keycode <= 0x69) {
214 return 0xffb0 + (keycode - 0x60); // numpad 0-9
217 switch(keycode) {
231 return nonCharacterKey({keyCode: keycode});
239 var keycode = evt.keyCode;
241 if (keycode >= 0x70 && keycode <= 0x87) {
242 return 0xffbe + keycode - 0x70; // F1-F24
244 switch (keycode) {