[Wayland-bugs] [Bug 106036] libinput mouse scrolling speed insanely fast

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 15 22:40:59 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106036

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.hutterer at who-t.net

--- Comment #1 from Peter Hutterer <peter.hutterer at who-t.net> ---
oh, goodie... looks like this is just a trackpoint slapped on a mouse and the
value range is the same as that of a built-in trackpoint. This explains why the
hwdb doesn't work, even at click delta of 1, the values quickly accumulate to
what would be a full spin of a wheel.

Not too unsurprising, given that the click delta is supposed to work for
wheels.

This needs a model-specific quirk, in the LIBINPUT_MODEL_* category. Tag the
device with that model and then go down a custom code path to set up the wheel.
The scroll source should be CONTINUOUS (see the documentation) and the data
should match pointer movement - given that it's a trackstick that should
already be the case so no messing with click deltas and the like.

You'll have to handle the REL_WHEEL/HWHEEL events accordingly, but otherwise it
should be reasonably straightforward.

https://wayland.freedesktop.org/libinput/doc/latest/developers.html may help as
a start.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180415/5d9b83fb/attachment.html>


More information about the wayland-bugs mailing list