This is a followup to v1: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02047.html v2: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02471.html v3: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02517.html v4: https://lists.nongnu.org/archive/html/qemu-devel/2017-08/msg02708.html v5: https://lists.nongnu.org/archive/html/qemu-devel/2017-09/msg02950.html v6: https://lists.gnu.org/archive/html/qemu-devel/2017-12/msg01988.html
This new series contains just the patches for converting the ui frontends for SDL1, SDL2, and GTK to use keycodemapdb. The particularly notable benefit is that this includes fixes such that SDL1 and GTK2/3 can actually work when using a non-Linux host Xorg/X11 server. Previously it would display but key handling was complete garbage, making it unusable in practice. Changed in v7: - Fix syntax error in win32 hack Daniel P. Berrange (4): ui: convert the SDL2 frontend to keycodemapdb ui: convert GTK and SDL1 frontends to keycodemapdb ui: add fix for GTK Pause key handling on Win32 ui: ignore hardware keycode 255 on win32 Makefile | 8 ++ include/ui/input.h | 24 +++++ ui/Makefile.objs | 5 +- ui/gtk.c | 220 ++++++++++++++++++++++++++----------------- ui/input-keymap.c | 8 ++ ui/sdl.c | 105 +++++++-------------- ui/sdl2-input.c | 16 +++- ui/sdl2-keymap.h | 267 ----------------------------------------------------- ui/trace-events | 9 +- ui/x_keymap.c | 250 +++++++++++++++++++------------------------------ ui/x_keymap.h | 8 +- 11 files changed, 330 insertions(+), 590 deletions(-) delete mode 100644 ui/sdl2-keymap.h -- 2.14.3