[Wayland-bugs] [Bug 106036] IBM Scrollpoint mouse: libinput mouse scrolling speed insanely fast
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 23 04:11:49 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106036
--- Comment #7 from Peter Hutterer <peter.hutterer at who-t.net> ---
oki, that diff looks good. but after digging around a bit more I think we need
a few extra bits here. Luckily they're already in place.
Basically, we want evdev_post_scroll() to handle the scroll events because it
handles things like direction locking. Much more convenient and you don't get
stray horizontal scrolls. That function takes unaccelerated coordinates
(normalized), see fallback_flush_relative_motion() for how to get them.
Basically call normalize_delta() on them and done.
The overall goal is that you don't need the CLICK_ANGLE properties because they
don't make sense on this device, you don't have a click angle because you don't
have a wheel that clicks. If you need those it indicates that your
EVDEV_MODEL_SCROLLPOINT flag isn't taking and you're still falling back to the
old click method. A few printfs should verify that. But as long as the click
angle properties affect your device it means there's a bug in the new code
because it should be completely separate :)
70-mouse.hwdb is part of systemd btw but again, we don't need that change.
--
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/20180423/59b9ee68/attachment.html>
More information about the wayland-bugs
mailing list