Skip to content

Convert frontends to use keycodemapdb

Daniel P. Berrange qemu-devel 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 0 repliesNew
  2. v64 patches 1 replySuperseded
  3. v512 patches 18 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v412 patches6 repliesSuperseded
v312 patches0 repliesSuperseded
v212 patches0 repliesSuperseded
v115 patches12 repliesSuperseded

Changes in v7 from the cover letter

- Fix syntax error in win32 hack

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ui: convert the SDL2 frontend to keycodemapdbMakefile include/ui/input.h ui/input-keymap.c +2 more+16 -2720 replies
2/4ui: convert GTK and SDL1 frontends to keycodemapdbMakefile include/ui/input.h ui/Makefile.objs +6 more+300 -3170 replies
3/4ui: add fix for GTK Pause key handling on Win32ui/gtk.c+8 -10 replies
4/4ui: ignore hardware keycode 255 on win32ui/gtk.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [Qemu-devel] [PATCH v7 0/4] Convert frontends to use keycodemapdb

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
Signature · 1 line
2.14.3