Lines Matching refs:keysym
156 unsigned short *keymap, keysym; in kbd_ascebc() local
166 keysym = keymap[j]; in kbd_ascebc()
167 if (KTYP(keysym) == (KT_LATIN | 0xf0) || in kbd_ascebc()
168 KTYP(keysym) == (KT_LETTER | 0xf0)) in kbd_ascebc()
169 ascebc[KVAL(keysym)] = k; in kbd_ascebc()
170 else if (KTYP(keysym) == (KT_DEAD | 0xf0)) in kbd_ascebc()
171 ascebc[ret_diacr[KVAL(keysym)]] = k; in kbd_ascebc()
183 unsigned short *keymap, keysym;
192 keysym = keymap[j];
194 if (KTYP(keysym) == (KT_LATIN | 0xf0) ||
195 KTYP(keysym) == (KT_LETTER | 0xf0))
196 ebcasc[k] = KVAL(keysym);
197 else if (KTYP(keysym) == (KT_DEAD | 0xf0))
198 ebcasc[k] = ret_diacr[KVAL(keysym)];
309 unsigned short keysym; in kbd_keycode() local
316 keysym = kbd->key_maps[5][keycode - 384]; in kbd_keycode()
318 keysym = kbd->key_maps[4][keycode - 256]; in kbd_keycode()
320 keysym = kbd->key_maps[1][keycode - 128]; in kbd_keycode()
322 keysym = kbd->key_maps[0][keycode]; in kbd_keycode()
324 type = KTYP(keysym); in kbd_keycode()
329 value = KVAL(keysym); in kbd_keycode()
352 to_utf8(kbd->port, keysym); in kbd_keycode()