X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qemu-keymap.c;h=4d00468747f703b2cd10345bb9d958cf5c4f5ddf;hb=2fa23277d58ce7ec527541b3baf52894ded530cc;hp=49e9167b866a4f1cabea1b95d45eaba1fa357cff;hpb=f2a48d696c12aaac12993364371daae9f6233c37;p=mirror_qemu.git diff --git a/qemu-keymap.c b/qemu-keymap.c index 49e9167b86..4d00468747 100644 --- a/qemu-keymap.c +++ b/qemu-keymap.c @@ -11,7 +11,6 @@ */ #include "qemu/osdep.h" #include "qemu-common.h" -#include "qapi-types.h" #include "qemu/notify.h" #include "ui/input.h" @@ -85,7 +84,7 @@ static void walk_map(struct xkb_keymap *map, xkb_keycode_t code, void *data) } fprintf(outfile, "# evdev %d (0x%x), QKeyCode \"%s\", number 0x%x\n", evdev, evdev, - QKeyCode_lookup.array[qcode], + QKeyCode_str(qcode), qcode_to_number(qcode)); /*