Home | History | Annotate | Download | only in ui

Lines Matching defs:keysym

2  * QEMU keysym to keycode conversion using rdesktop keymaps
34 return p->keysym;
105 int keysym;
107 keysym = get_keysym(table, line);
108 if (keysym == 0) {
109 // fprintf(stderr, "Warning: unknown keysym %s\n", line);
117 add_to_key_range(&k->numlock_range, keysym);
118 //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode);
123 if (keysym < MAX_NORMAL_KEYCODE) {
124 //fprintf(stderr,"Setting keysym %s (%d) to %d\n",line,keysym,keycode);
125 k->keysym2keycode[keysym] = keycode;
129 "Warning: Could not assign keysym %s (0x%x) because of memory constraints.\n",
130 line, keysym);
134 k->extra_count, keysym, keycode);
137 keysym = keysym;
158 int keysym2scancode(void *kbd_layout, int keysym)
161 if (keysym < MAX_NORMAL_KEYCODE) {
162 if (k->keysym2keycode[keysym] == 0)
163 fprintf(stderr, "Warning: no scancode found for keysym %d\n",
164 keysym);
165 return k->keysym2keycode[keysym];
169 if (keysym == XK_ISO_Left_Tab)
170 keysym = XK_Tab;
173 if (k->keysym2keycode_extra[i].keysym == keysym)
190 int keysym_is_numlock(void *kbd_layout, int keysym)
196 if (keysym >= kr->start && keysym <= kr->end)