Lines Matching defs:keysym
598 int keysym;
606 keysym = kbd_code_to_keysym(ks, code);
609 if (kbd_input_keysym(k, keysym)) {
611 " produced unexpected keysym 0x%x\n",
613 code, ks->kbd_modbits, keysym);
617 if (KEYSYM_NOREPEAT(keysym))
622 k->k_repeatsym = keysym;
640 /* feed typematic keysym to the console */
653 * Supply keysym as console input. Convert keysym to character(s) and
656 * Return zero on success, else the keysym that we could not handle
660 kbd_input_keysym(struct kbd_softc *k, int keysym)
668 switch (KEYSYM_CLASS(keysym)) {
671 data = KEYSYM_DATA(keysym);
678 data = keysym & 0xF;
683 kbd_input_funckey(k, keysym);
687 data = 1 << (keysym & 0x1F);
692 data = 1 << (keysym & 0x1F);
697 data = 1 << (keysym & 0x1F);
707 if (keysym == KEYSYM_NOP)
712 return keysym;
738 kbd_input_funckey(struct kbd_softc *k, int keysym)
743 n = 0xC0 + (keysym & 0x3F);
845 int keysym;
867 keysym = km[KEY_CODE(c)];
873 (KEYSYM_CLASS(keysym) == KEYSYM_ASCII) )
875 if (('a' <= keysym) && (keysym <= 'z'))
876 keysym -= ('a' - 'A');
885 (KEYSYM_CLASS(keysym) == KEYSYM_FUNC) )
887 keysym = kbd_numlock_map[keysym & 0x3F];
890 return keysym;