Lines Matching refs:keysym
129 unsigned short *keymap, keysym; in kbd_ascebc() local
139 keysym = keymap[j]; in kbd_ascebc()
140 if (KTYP(keysym) == (KT_LATIN | 0xf0) || in kbd_ascebc()
141 KTYP(keysym) == (KT_LETTER | 0xf0)) in kbd_ascebc()
142 ascebc[KVAL(keysym)] = k; in kbd_ascebc()
143 else if (KTYP(keysym) == (KT_DEAD | 0xf0)) in kbd_ascebc()
144 ascebc[ret_diacr[KVAL(keysym)]] = k; in kbd_ascebc()
156 unsigned short *keymap, keysym;
165 keysym = keymap[j];
167 if (KTYP(keysym) == (KT_LATIN | 0xf0) ||
168 KTYP(keysym) == (KT_LETTER | 0xf0))
169 ebcasc[k] = KVAL(keysym);
170 else if (KTYP(keysym) == (KT_DEAD | 0xf0))
171 ebcasc[k] = ret_diacr[KVAL(keysym)];
282 unsigned short keysym; in kbd_keycode() local
289 keysym = kbd->key_maps[5][keycode - 384]; in kbd_keycode()
291 keysym = kbd->key_maps[4][keycode - 256]; in kbd_keycode()
293 keysym = kbd->key_maps[1][keycode - 128]; in kbd_keycode()
295 keysym = kbd->key_maps[0][keycode]; in kbd_keycode()
297 type = KTYP(keysym); in kbd_keycode()
302 value = KVAL(keysym); in kbd_keycode()
325 to_utf8(kbd->port, keysym); in kbd_keycode()