[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 22:44:54 UTC 2018


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

--- Comment #9 from Peter Hutterer <peter.hutterer at who-t.net> ---
the direction locking is very mild, it's supposed to help with vertical
scrolling to not introduce any undue horizontal movement. There's a built-in
trigger that needs to be exceeded before we start sending events for the other
direction. It's definitely not a hard lock - you can scroll in all directions
at all times.

But your output above shows that it's (probably) working, you don't get any
horiz movement in the vertical scroll even though, most likely, you have the
odd horizontal event in the output.

> Probably I should add a
>  struct normalized_coords unaccel;
> instead of abusing wheel_degrees which was already declared in 
> fallback_flush_wheels() for a final version of the changes?

yeah, that sounds good. I'm always in favour of localised variables that make
the code more obvious, the compiler optimises them away anyway.

-- 
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/6f9cfe57/attachment.html>


More information about the wayland-bugs mailing list