Skip to content

Add horizontal mouse scroll support

Dmitry Petrov qemu-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 0 repliesNew
  2. v35 patches 0 repliesSuperseded
  3. v25 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- Added a link to the original submission by Brad

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ps2: Initial horizontal scroll supporthw/input/ps2.c qapi/ui.json+50 -90 replies
2/5ui/cocoa: pass horizontal scroll information to the device codeui/cocoa.m+12 -60 replies
3/5ui/gtk: pass horizontal scroll information to the device codeui/gtk.c+42 -120 replies
4/5ui/sdl2: pass horizontal scroll information to the device codeui/sdl2.c+5 -00 replies
5/5ui/input-legacy: pass horizontal scroll informationui/input-legacy.c+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/5] Add horizontal mouse scroll support

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(-)
Signature · 1 line
2.32.0