<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Somehow conditionalize hysteresis (hardware black/whitelist, device property introspection, user-exposed setting, etc)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98839#c59">Comment # 59</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Somehow conditionalize hysteresis (hardware black/whitelist, device property introspection, user-exposed setting, etc)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98839">bug 98839</a>
from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>Try the branch again, I changed it to a timeout-based approach in case the
other events get swallowed. commit fd96be761e53. That one is at a fixed 80ms
but that *has* to be short enough. It's less than our tap timeout, iirc...
Please do test this more, especially with the --verbose flag I mentioned above
to check if the hysteresis is in fact disabled on the fly. And of course the
usual checks that the new version is actually being used, etc.
As for the other commments: I don't know why the hysteresis is so large. It's
initialized as res/2 which is 0.5mm in physical dimensions. even if the hw
hysteresis is larger than that, ours wouldn't do that much because you'd always
be exceeding the margin anyway.
Also, fwiw, the hysteresis is applied before pointer acceleration, the deltas
fed into acceleration have the hysteresis applied to them already. If that
affects the acceleration it'd be easy to figure out - simply printf the
accelerated coordinates (src/filter.c) for a recorded event sequence and
compare them with/witout hysteresis.
IIRC the T450 has the same touchpad as the gen4, the below may matter. Though
it wouldn't explain why it works with the hysteresis disabled.
<a href="http://who-t.blogspot.com.au/2016/09/libinput-and-lenovo-t450-and-t460.html">http://who-t.blogspot.com.au/2016/09/libinput-and-lenovo-t450-and-t460.html</a>
I have a t450 but I'm moving house atm and it's in a box already. Should be
able to test it next week. I don't remember it being that awful though and I
had been using that device for testing for a while.</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>