]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-keymap.c
bsd-user: Implement revoke, access, eaccess and faccessat
[mirror_qemu.git] / qemu-keymap.c
index 49e9167b866a4f1cabea1b95d45eaba1fa357cff..4095b654a6073cfd9722d863e5d45e0d0af0d520 100644 (file)
@@ -10,8 +10,6 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
-#include "qapi-types.h"
 #include "qemu/notify.h"
 #include "ui/input.h"
 
@@ -85,7 +83,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));
 
     /*
@@ -189,6 +187,7 @@ int main(int argc, char *argv[])
     }
 
     fprintf(outfile,
+            "# SPDX-License-Identifier: GPL-2.0-or-later\n"
             "#\n"
             "# generated by qemu-keymap\n"
             "#    model   : %s\n"