Skip to content

Commit 656282d

Browse files
Kenokraxel
authored andcommitted
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: 2ec7870 ("ui: convert GTK and SDL1 frontends to keycodemapdb") CC: Daniel P. Berrange <[email protected]> Signed-off-by: Keno Fischer <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent 2ab09bf commit 656282d

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ KEYCODEMAP_FILES = \
322322
ui/input-keymap-xorgkbd-to-qcode.c \
323323
ui/input-keymap-xorgxquartz-to-qcode.c \
324324
ui/input-keymap-xorgxwin-to-qcode.c \
325+
ui/input-keymap-osx-to-qcode.c \
325326
$(NULL)
326327

327328
GENERATED_FILES += $(KEYCODEMAP_FILES)

include/ui/input.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,7 @@ extern const guint16 qemu_input_map_xorgxquartz_to_qcode[];
116116
extern const guint qemu_input_map_xorgxwin_to_qcode_len;
117117
extern const guint16 qemu_input_map_xorgxwin_to_qcode[];
118118

119+
extern const guint qemu_input_map_osx_to_qcode_len;
120+
extern const guint16 qemu_input_map_osx_to_qcode[];
121+
119122
#endif /* INPUT_H */

ui/input-keymap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "ui/input-keymap-xorgkbd-to-qcode.c"
2222
#include "ui/input-keymap-xorgxquartz-to-qcode.c"
2323
#include "ui/input-keymap-xorgxwin-to-qcode.c"
24+
#include "ui/input-keymap-osx-to-qcode.c"
2425

2526
int qemu_input_linux_to_qcode(unsigned int lnx)
2627
{

0 commit comments

Comments
 (0)