From: Dmitry Petrov <dpetroff@gmail.com>
To: qemu-devel@nongnu.org, dpetroff@gmail.com
Subject: [PATCH v4 0/5] Add horizontal mouse scroll support
Date: Sat, 8 Jan 2022 16:39:42 +0100 [thread overview]
Message-ID: <20220108153947.171861-1-dpetroff@gmail.com> (raw)
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
Original submission: https://lists.gnu.org/archive/html/qemu-devel/2010-05/msg00223.html
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
Changes from V3 to V4:
- Added a link to the original submission by Brad
Dmitry Petrov (5):
ps2: Initial horizontal scroll support
ui/cocoa: pass horizontal scroll information to the device code
ui/gtk: pass horizontal scroll information to the device code
ui/sdl2: pass horizontal scroll information to the device code
ui/input-legacy: pass horizontal scroll information
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
next reply other threads:[~2022-01-08 15:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 15:39 Dmitry Petrov [this message]
2022-01-08 15:39 ` [PATCH v4 1/5] ps2: Initial horizontal scroll support Dmitry Petrov
2022-01-08 15:39 ` [PATCH v4 2/5] ui/cocoa: pass horizontal scroll information to the device code Dmitry Petrov
2022-01-08 15:39 ` [PATCH v4 3/5] ui/gtk: " Dmitry Petrov
2022-01-08 15:39 ` [PATCH v4 4/5] ui/sdl2: " Dmitry Petrov
2022-01-08 15:39 ` [PATCH v4 5/5] ui/input-legacy: pass horizontal scroll information Dmitry Petrov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220108153947.171861-1-dpetroff@gmail.com \
--to=dpetroff@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.