Skip to content

RFC Add horizontal wheel support to mice, where possible

Brad Jorsch qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add function parameters for hwheelcocoa.m console.h hw/adb.c +15 more+39 -320 replies
2/5Add hwheel to monitor mouse_movemonitor.c qemu-monitor.hx+8 -40 replies
3/5Pass hwheel events from the front-endscocoa.m sdl.c vnc.c+19 -60 replies
4/5Add a horizontal wheel to the USB mouse and tablethw/usb-hid.c+36 -80 replies
5/5Add a horizontal wheel to the exps/2 mousehw/ps2.c+43 -130 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [RFC] [PATCH 0/5] Add horizontal wheel support to mice, where possible

The emulated mice should emulate a horizontal wheel when possible. This patch series does that for the USB mouse and tablet and the ExPS/2 mouse. As far as I can tell the vmmouse protocol doesn't handle a horizontal wheel, and I have no idea if emulating a wheel might make sense for any of the other mouse types.

I've tested this using the SDL interface and an Ububtu 10.04 cd image; xev reports the correct events for all three devices, and a gedit window with sufficient text to create scrollbars scrolls correctly with both mice (didn't test the tablet). More testing would be good.

See also Debian bug #579968.[1]

[1] http://bugs.debian.org/579968