]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
ui: darwin: gtk: Add missing input keymap
authorKeno Fischer <keno@juliacomputing.com>
Wed, 13 Jun 2018 23:51:56 +0000 (19:51 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 14 Jun 2018 07:52:23 +0000 (09:52 +0200)
In appears the input keymap for osx was forgotten in the commit that
converted the gtk frontend to keycodemapdb. Add it.

Fixes: 2ec78706 ("ui: convert GTK and SDL1 frontends to keycodemapdb")
CC: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Message-id: 1528933916-40670-1-git-send-email-keno@juliacomputing.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Makefile
include/ui/input.h
ui/input-keymap.c

index 6c6664d9a35e8dd0be77a7223f2059f2d51d6111..bdae3133fb90cb0268088ed229360ed04a3ef5e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -322,6 +322,7 @@ KEYCODEMAP_FILES = \
                 ui/input-keymap-xorgkbd-to-qcode.c \
                 ui/input-keymap-xorgxquartz-to-qcode.c \
                 ui/input-keymap-xorgxwin-to-qcode.c \
+                ui/input-keymap-osx-to-qcode.c \
                 $(NULL)
 
 GENERATED_FILES += $(KEYCODEMAP_FILES)
index 16395ab8f28e62602b0dcf83c4e1496b1e0f95f1..34ebc67c5ad171c525ffa4a8f05d72bae8789ac8 100644 (file)
@@ -116,4 +116,7 @@ extern const guint16 qemu_input_map_xorgxquartz_to_qcode[];
 extern const guint qemu_input_map_xorgxwin_to_qcode_len;
 extern const guint16 qemu_input_map_xorgxwin_to_qcode[];
 
+extern const guint qemu_input_map_osx_to_qcode_len;
+extern const guint16 qemu_input_map_osx_to_qcode[];
+
 #endif /* INPUT_H */
index 87cc301b7ac306439ed5f04b4ca0cd5765b2e99d..db5ccff5ad49a5d7f30cc2019eafde0259276dd0 100644 (file)
@@ -21,6 +21,7 @@
 #include "ui/input-keymap-xorgkbd-to-qcode.c"
 #include "ui/input-keymap-xorgxquartz-to-qcode.c"
 #include "ui/input-keymap-xorgxwin-to-qcode.c"
+#include "ui/input-keymap-osx-to-qcode.c"
 
 int qemu_input_linux_to_qcode(unsigned int lnx)
 {