Lines Matching refs:keycode

98 		    fprintf(stderr, "attempt to allocate %ld byte keycode set",
179 { "keycode", 7, do_keycode },
344 * "keycode" number "=" [keysym ...]
356 KeyCode keycode;
359 badmsg0 ("keycode input line");
369 keycode = 0;
376 badmsg0 ("keycode value");
379 keycode = (KeyCode) dummy;
380 if ((int)keycode < min_keycode || (int)keycode > max_keycode) {
381 badmsg0 ("keycode value (out of range)");
386 finish_keycodes (line, len, &keycode, 1);
430 printf ("! Keysym %s (0x%lx) corresponds to keycode(s)",
452 badmsg0 ("keycode command (missing keysym list),");
467 badmsg ("attempt to allocate a %ld byte keycode opcode",
471 opk = &uop->keycode;
483 check_special_keys (keycode, n, kslist);
690 badmsg ("attempt to allocate %ld byte keycode list",
711 printf ("! Keysym %s (0x%lx) corresponds to keycode(s)",
721 badmsg ("attempt to allocate %ld byte keycode list",
755 make_remove(int modifier, KeyCode keycode)
778 oprm->keycodes[0] = keycode;
1006 * Do NOT test to see if the keysym translates to a keycode or you
1040 check_special_keys(KeyCode keycode, int n, KeySym *kslist)
1043 KeyCode *kcp; /* keycode pointer */
1063 * check to see if the target keycode is already a modifier; if so,
1066 if (keycode == *kcp) {
1067 make_remove (i, keycode);
1080 * have to generate a remove of the CURRENT keycode
1083 make_remove (i, kc); /* modifier, keycode */
1117 if (op->keycode.target_keycode)
1118 printf ("keycode 0x%lx =", (long) op->keycode.target_keycode);
1120 printf ("keycode any =");
1121 for (i = 0; i < op->keycode.count; i++) {
1122 char *name = XKeysymToString (op->keycode.keysyms[i]);
1197 !op->keycode.target_keycode)) {
1215 if (exec_keycode (&op->keycode) < 0) errors++;
1216 if (op->keycode.target_keycode)
1276 fprintf(stderr, "%s: no available keycode for assignment\n",