Home
last modified time | relevance | path

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

/openbmc/qemu/ui/
H A Dkeymaps.c34 struct keysym2code { struct
65 struct keysym2code *keysym2code; in add_keysym() local
68 if (keysym2code) { in add_keysym()
69 if (keysym2code->count < ARRAY_SIZE(keysym2code->keycodes)) { in add_keysym()
70 keysym2code->keycodes[keysym2code->count++] = keycode; in add_keysym()
78 keysym2code = g_new0(struct keysym2code, 1); in add_keysym()
80 keysym2code->count = 1; in add_keysym()
198 struct keysym2code *keysym2code; in keysym2scancode() local
207 if (!keysym2code) { in keysym2scancode()
213 if (keysym2code->count == 1) { in keysym2scancode()
[all …]