Home
last modified time | relevance | path

Searched refs:kbd_layout (Results 1 – 6 of 6) sorted by relevance

/external/qemu/ui/
Dkeymaps.c158 int keysym2scancode(void *kbd_layout, int keysym) in keysym2scancode() argument
160 kbd_layout_t *k = kbd_layout; in keysym2scancode()
179 int keycode_is_keypad(void *kbd_layout, int keycode) in keycode_is_keypad() argument
181 kbd_layout_t *k = kbd_layout; in keycode_is_keypad()
190 int keysym_is_numlock(void *kbd_layout, int keysym) in keysym_is_numlock() argument
192 kbd_layout_t *k = kbd_layout; in keysym_is_numlock()
Dkeymaps.h56 int keysym2scancode(void *kbd_layout, int keysym);
57 int keycode_is_keypad(void *kbd_layout, int keycode);
58 int keysym_is_numlock(void *kbd_layout, int keysym);
Dcurses.c161 static kbd_layout_t *kbd_layout = NULL; variable
235 if (kbd_layout && !(keycode & GREY)) { in curses_refresh()
241 keycode |= keysym2scancode(kbd_layout, keysym); in curses_refresh()
312 kbd_layout = init_keyboard_layout(name2keysym, keyboard_layout); in curses_keyboard_setup()
313 if (!kbd_layout) in curses_keyboard_setup()
Dvnc.c1302 kbd_put_keycode(keysym2scancode(vs->vd->kbd_layout, keysym) & 0x7f); in press_key()
1303 kbd_put_keycode(keysym2scancode(vs->vd->kbd_layout, keysym) | 0x80); in press_key()
1336 if (keycode_is_keypad(vs->vd->kbd_layout, keycode)) { in do_key_event()
1341 if (keysym_is_numlock(vs->vd->kbd_layout, sym & 0xFFFF)) { in do_key_event()
1466 keycode = keysym2scancode(vs->vd->kbd_layout, sym & 0xFFFF); in key_event()
2122 vs->kbd_layout = init_keyboard_layout(name2keysym, keyboard_layout); in vnc_display_init()
2124 vs->kbd_layout = init_keyboard_layout(name2keysym, "en-us"); in vnc_display_init()
2126 if (!vs->kbd_layout) in vnc_display_init()
Dvnc-android.c1309 kbd_put_keycode(keysym2scancode(vs->vd->kbd_layout, keysym) & 0x7f); in press_key()
1310 kbd_put_keycode(keysym2scancode(vs->vd->kbd_layout, keysym) | 0x80); in press_key()
1343 if (keycode_is_keypad(vs->vd->kbd_layout, keycode)) { in do_key_event()
1348 if (keysym_is_numlock(vs->vd->kbd_layout, sym & 0xFFFF)) { in do_key_event()
1473 keycode = keysym2scancode(vs->vd->kbd_layout, sym & 0xFFFF); in key_event()
2127 vs->kbd_layout = init_keyboard_layout(name2keysym, keyboard_layout); in vnc_display_init()
2129 vs->kbd_layout = init_keyboard_layout(name2keysym, "en-us"); in vnc_display_init()
2131 if (!vs->kbd_layout) in vnc_display_init()
Dvnc.h93 kbd_layout_t *kbd_layout; member