Searched refs:kbd_layout (Results 1 – 3 of 3) sorted by relevance
166 static int keysym2scancode(void *kbd_layout, int keysym) in keysym2scancode() argument168 kbd_layout_t *k = kbd_layout; in keysym2scancode()187 static inline int keycode_is_keypad(void *kbd_layout, int keycode) in keycode_is_keypad() argument189 kbd_layout_t *k = kbd_layout; in keycode_is_keypad()198 static inline int keysym_is_numlock(void *kbd_layout, int keysym) in keysym_is_numlock() argument200 kbd_layout_t *k = kbd_layout; in keysym_is_numlock()
161 static kbd_layout_t *kbd_layout = 0; variable235 if (kbd_layout && !(keycode & GREY)) { in curses_refresh()241 keycode |= keysym2scancode(kbd_layout, keysym); in curses_refresh()312 kbd_layout = init_keyboard_layout(keyboard_layout); in curses_keyboard_setup()313 if (!kbd_layout) in curses_keyboard_setup()
163 kbd_layout_t *kbd_layout; member963 kbd_put_keycode(keysym2scancode(vs->kbd_layout, keysym) & 0x7f); in press_key()964 kbd_put_keycode(keysym2scancode(vs->kbd_layout, keysym) | 0x80); in press_key()997 if (keycode_is_keypad(vs->kbd_layout, keycode)) { in do_key_event()1002 if (keysym_is_numlock(vs->kbd_layout, sym & 0xFFFF)) { in do_key_event()1075 keycode = keysym2scancode(vs->kbd_layout, sym & 0xFFFF); in key_event()2148 vs->kbd_layout = init_keyboard_layout(keyboard_layout); in vnc_display_init()2150 vs->kbd_layout = init_keyboard_layout("en-us"); in vnc_display_init()2152 if (!vs->kbd_layout) in vnc_display_init()