[Wayland-bugs] [Bug 105022] Lenovo P50 - Slow fine touchpad movement makes it jump

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 9 09:41:23 UTC 2018


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

--- Comment #39 from Tim Richardson <tim at tim-richardson.net> ---
Peter, thanks for your code. It's very easy to build, very easy to understand. 

I made this change, but it makes no difference

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 99cbcc56..6e75322d 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -1411,7 +1411,7 @@ tp_need_motion_history_reset(struct tp_dispatch *tp)
         */
        if (tp->device->model_flags & EVDEV_MODEL_LENOVO_T450_TOUCHPAD) {
                if (tp->queued & TOUCHPAD_EVENT_MOTION) {
-                       if (tp->quirks.nonmotion_event_count > 10) {
+                       if (tp->quirks.nonmotion_event_count > 0) {
                                tp->queued &= ~TOUCHPAD_EVENT_MOTION;
                                rc = true;
                        }


That large jump in cursor movement is really a problem. It is not ignored, even
by the code above (which was applied when I took that recording, and I both
updated and rebooted). 

It is treated as a rapid movement and accelerated. The only way I can get a
good touchpad experience is an acceleration factor < -0.7

I plan to understand the acceleration logic and change it somehow, so that
there must be a certain number of events before acceleration is applied,
similar to the idea in the code above.

-- 
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/20180409/881a88c0/attachment.html>


More information about the wayland-bugs mailing list