[Wayland-bugs] [Bug 90735] Touchpad does not feel "right", acceleration issue

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 1 06:23:48 UTC 2016


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

--- Comment #26 from Peter Hutterer <peter.hutterer at who-t.net> ---
Finally starting to pick this up again. I have some complaints about slow
movements not being right, so I wonder if dropping deceleration is the right
idea. Simple patch to try out, it may be the right step, please let me know.

diff --git a/src/filter.c b/src/filter.c
index 0bb066c..5aec7df 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -662,6 +662,9 @@ touchpad_accel_profile_linear(struct motion_filter *filter,

        factor = pointer_accel_profile_linear(filter, data, speed_in, time);

+       /* Disable deceleration */
+       factor = max(factor, 1.0);
+
        return factor * TP_MAGIC_SLOWDOWN;
 }

-- 
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/20161101/117b01af/attachment.html>


More information about the wayland-bugs mailing list