[PATCH v3 0/5] Add horizontal mouse scroll support

Dmitry Petrov posted 5 patches 2 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211222225606.1359162-1-dpetroff@gmail.com
Maintainers: Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Gerd Hoffmann <kraxel@redhat.com>
There is a newer version of this series
hw/input/ps2.c    | 57 ++++++++++++++++++++++++++++++++++++++++-------
qapi/ui.json      |  2 +-
ui/cocoa.m        | 18 ++++++++++-----
ui/gtk.c          | 54 ++++++++++++++++++++++++++++++++++----------
ui/input-legacy.c | 15 +++++++++++++
ui/sdl2.c         |  5 +++++
6 files changed, 124 insertions(+), 27 deletions(-)
[PATCH v3 0/5] Add horizontal mouse scroll support
Posted by Dmitry Petrov 2 years, 4 months ago
This patchset adds implements passing horizontal scroll
events from the host system to guest systems via ps/2
mouse device.

This is useful during testing horizontal scroll behaviour
in guest operating systems as well as using it in case it
provides any benefits for a particular application.

The patch is based on the previous work by Brad Jorsch done
in 2010 but never merged, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579968

Changes from V1 to V2:
  - Patch is split into a sequence
  - Value is clamped to 31 for horizontal scroll in the device code

Changes from V2 to V3:
  - Cover letter
  - Removed unnecessary log line

 hw/input/ps2.c    | 57 ++++++++++++++++++++++++++++++++++++++++-------
 qapi/ui.json      |  2 +-
 ui/cocoa.m        | 18 ++++++++++-----
 ui/gtk.c          | 54 ++++++++++++++++++++++++++++++++++----------
 ui/input-legacy.c | 15 +++++++++++++
 ui/sdl2.c         |  5 +++++
 6 files changed, 124 insertions(+), 27 deletions(-)

--
2.32.0