<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Lenovo P50 - Slow fine touchpad movement makes it jump"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105022#c39">Comment # 39</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Lenovo P50 - Slow fine touchpad movement makes it jump"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105022">bug 105022</a>
from <span class="vcard"><a class="email" href="mailto:tim@tim-richardson.net" title="Tim Richardson <tim@tim-richardson.net>"> <span class="fn">Tim Richardson</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>