Lines Matching defs:keycode
981 * Pass keycode upstream, either translated or untranslated.
984 kbduse(register struct kbddata *kbdd, unsigned keycode)
989 if (kbd_input_debug) printf("KBD USE key=%d\n", keycode);
996 kbdputcode(keycode, readq);
998 kbdtranslate(kbdd, keycode, readq);
1670 * the current keycode.
1732 kbdtranslate(struct kbddata *kbdd, unsigned keycode, queue_t *q)
1747 newstate = STATEOF(keycode);
1748 key = KEYOF(keycode);
1752 printf("KBD TRANSLATE keycode=0x%x newstate=0x%x key=0x%x\n",
1753 keycode, newstate, key);
1909 if (k->k_rptkey != keycode) {
1913 k->k_rptkey = keycode;
2355 * Pass a keycode up the stream, if you can, otherwise throw it away.
2363 cmn_err(CE_WARN, "kbdputcode: Can't put block for keycode");
2367 "kbdputcode: Can't allocate block for keycode");
2376 * Pass generated keycode sequence to upstream, if possible.
2384 cmn_err(CE_WARN, "kbdputbuf: Can't put block for keycode");
2388 "kbdputbuf: Can't allocate block for keycode");