ui: darwin: gtk: Add missing input keymap
PATCH 1/1 ui: darwin: gtk: Add missing input keymap
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 <[email protected]>
Signed-off-by Keno Fischer <[email protected]>
--- Makefile | 1 + include/ui/input.h | 3 +++ ui/input-keymap.c | 1 + 3 files changed, 5 insertions(+)
Makefile +1 -0
@@ -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)
include/ui/input.h +3 -0
@@ -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 */
ui/input-keymap.c +1 -0
@@ -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) {
Signature · 1 line
2.8.1
Quoted 11 lines · Keno Fischer
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 <[email protected]>Signed-off-by Keno Fischer <[email protected]>--- Makefile | 1 + include/ui/input.h | 3 +++ ui/input-keymap.c | 1 + 3 files changed, 5 insertions(+)
Reviewed-by Daniel P. Berrangé <[email protected]>
I guess this shows just how (in-)frequently people try to compile the GTK frontend on OS-X :-(
Quoted 40 lines
Makefile +1
-0@@ -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)include/ui/input.h +3
-0@@ -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 */ ui/input-keymap.c +1
-0@@ -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) {Signature · 1 line
2.8.1
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
CC'ing Gerd as ui/ tree maintainer.
Quoted 53 lines · Daniel P. Berrangé
Quoted 11 lines · Keno Fischer
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 <[email protected]>Signed-off-by Keno Fischer <[email protected]>--- Makefile | 1 + include/ui/input.h | 3 +++ ui/input-keymap.c | 1 + 3 files changed, 5 insertions(+)Reviewed-by Daniel P. Berrangé <[email protected]>I guess this shows just how (in-)frequently people try to compile the GTK frontend on OS-X :-(
Quoted 35 lines
Makefile +1
-0@@ -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)include/ui/input.h +3
-0@@ -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 */ ui/input-keymap.c +1
-0@@ -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"
Quoted 13 lines
Quoted 5 lines
ui/input-keymap.c +0
-0int qemu_input_linux_to_qcode (unsigned int lnx) {Signature · 1 line
2.8.1Regards,
DanielSignature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|