diff options
author | Gerd Hoffmann | 2017-09-26 13:32:43 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2017-09-29 10:36:33 +0200 |
commit | f4924974c7c72560f68ab298ac25a525a28a2124 (patch) | |
tree | 92829adac0943627d0b39a3ad4333800b9b0a000 /include/hw/misc/mips_itu.h | |
parent | egl: misc framebuffer helper improvements. (diff) | |
download | qemu-f4924974c7c72560f68ab298ac25a525a28a2124.tar.gz qemu-f4924974c7c72560f68ab298ac25a525a28a2124.tar.xz qemu-f4924974c7c72560f68ab298ac25a525a28a2124.zip |
virtio-input: send rel-wheel events for wheel buttons
qemu uses wheel-up/down button events for mouse wheel input, however
linux applications typically want REL_WHEEL events.
This fixes wheel with linux guests. Tested with X11/wayland, and
windows virtio-input driver.
Based on a patch from Marc.
Added property to enable/disable wheel axis.
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20170926113243.26081-1-kraxel@redhat.com
Diffstat (limited to 'include/hw/misc/mips_itu.h')
0 files changed, 0 insertions, 0 deletions