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

Peter Hutterer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Peter Hutterer <[email protected]> ---
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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to