Lines Matching refs:keysym
2 * QEMU keysym to keycode conversion using rdesktop keymaps
34 return p->keysym;
121 int keysym;
123 keysym = get_keysym(table, line);
124 if (keysym == 0) {
125 // fprintf(stderr, "Warning: unknown keysym %s\n", line);
133 add_to_key_range(&k->numlock_range, keysym);
134 //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode);
139 if (keysym < MAX_NORMAL_KEYCODE) {
140 //fprintf(stderr,"Setting keysym %s (%d) to %d\n",line,keysym,keycode);
141 k->keysym2keycode[keysym] = keycode;
145 "Warning: Could not assign keysym %s (0x%x) because of memory constraints.\n",
146 line, keysym);
150 k->extra_count, keysym, keycode);
153 keysym = keysym;
174 int keysym2scancode(void *kbd_layout, int keysym)
177 if (keysym < MAX_NORMAL_KEYCODE) {
178 if (k->keysym2keycode[keysym] == 0)
179 fprintf(stderr, "Warning: no scancode found for keysym %d\n",
180 keysym);
181 return k->keysym2keycode[keysym];
185 if (keysym == XK_ISO_Left_Tab)
186 keysym = XK_Tab;
189 if (k->keysym2keycode_extra[i].keysym == keysym)
206 int keysym_is_numlock(void *kbd_layout, int keysym)
212 if (keysym >= kr->start && keysym <= kr->end)