qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/5] keymap: support kbd layouts with multiple ma


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH v2 0/5] keymap: support kbd layouts with multiple mappings for the same key.
Date: Tue, 20 Feb 2018 16:03:52 +0100

The reverse keymap (-k $map) code has problems dealing with keymaps
where multiple key combinations can create the same keysym, because
it can store a single keycode per keysym only.  This series fixes it
and does some cleanups along the way.

v2: rebase, codestyle fixes.

Gerd Hoffmann (5):
  keymap: make struct kbd_layout_t private to ui/keymaps.c
  keymap: use glib hash for kbd_layout_t
  keymap: numpad keysyms and keycodes are fixed
  keymap: record multiple keysym -> keycode mappings
  keymap: consider modifier state when picking a mapping

 ui/keymaps.h    |  30 +++-------
 ui/curses.c     |   3 +-
 ui/keymaps.c    | 169 +++++++++++++++++++++++++++++---------------------------
 ui/sdl.c        |   6 +-
 ui/vnc.c        |   9 ++-
 ui/trace-events |   2 +-
 6 files changed, 111 insertions(+), 108 deletions(-)

-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]