Lines Matching defs:keycode
79 /* Table of keycode->keysym mappings we use to fallback on for important
83 unsigned short keycode;
123 /* Table of keycode->old,new-keysym mappings we use to fixup the numeric
127 unsigned short keycode;
366 unsigned char keycode;
368 keycode = keyInfo.modifierKeycodes[i][0];
369 if (keycode)
370 ClearBit(ctrl->per_key_repeat, keycode + MIN_KEYCODE);
372 keycode = keyInfo.modifierKeycodes[i][1];
373 if (keycode)
374 ClearBit(ctrl->per_key_repeat, keycode + MIN_KEYCODE);
492 // keycode - specifies hardware key, read from keymapping
500 * Return the keycode for an NX_MODIFIERKEY_* modifier.
517 * Returns -1 if keycode+side is not a modifier key
521 DarwinModifierNXKeycodeToNXKey(unsigned char keycode, int *outSide)
525 keycode += MIN_KEYCODE;
527 // search modifierKeycodes for this keycode+side
531 if (keyInfo.modifierKeycodes[key][side] == keycode) break;
783 /* Scan the keycode range for the Unicode character that each
838 k = info->keyMap + known_keys[i].keycode * GLYPHS_PER_KEY;
850 k = info->keyMap + known_numeric_keys[i].keycode * GLYPHS_PER_KEY;