]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-keymap.c
block/gluster: limit the transfer size to 512 MiB
[mirror_qemu.git] / qemu-keymap.c
index 49e9167b866a4f1cabea1b95d45eaba1fa357cff..4d00468747f703b2cd10345bb9d958cf5c4f5ddf 100644 (file)
@@ -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));
 
     /*