[Qemu-devel] [Bug 1578192] Re: GTK+ interface doesn't translate keycodes properly with Wayland backend

2016-05-06 Thread wyzu
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

[Qemu-devel] [Bug 1578192] [NEW] GTK+ interface doesn't translate keycodes properly with Wayland backend

2016-05-04 Thread wyzu
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