So here's my admittedly quick and dirty solution. This patch adds
support for evdev keycodes using translate_evdev_keycode when
GDK_WINDOWING_WAYLAND is defined.
Affected functions:
ui/gtk.c:gd_set_keycode_type
ui/gtk.c:gd_map_keycode
The caveat with this patch is that I don't see any good way to
Public bug reported:
I already posted this on the mailing list
(https://lists.nongnu.org/archive/html/qemu-devel/2016-05/msg00119.html)
but I decided to do a formal bug report so it can be tracked and doesn't
get lost.
... I'm no expert, but it looks like GTK+ key events come in at the
ui/gtk.c:g