Gerd Hoffmann f4924974c7 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
2017-09-29 10:36:33 +02:00
..
2017-07-27 14:23:33 +02:00
2017-06-23 11:50:05 +02:00
2016-05-19 16:42:29 +02:00
2017-09-27 11:35:59 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2017-09-27 11:35:59 +01:00
2016-10-04 13:28:08 +01:00