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.
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 | 29 ++--------
ui/curses.c | 3 +-
ui/keymaps.c | 167 +++++++++++++++++++++++++++++---------------------------
ui/sdl.c | 6 +-
ui/vnc.c | 9 ++-
ui/trace-events | 2 +-
6 files changed, 108 insertions(+), 108 deletions(-)
--
2.9.3