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

--- Comment #39 from Tim Richardson <t...@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.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to