[Wayland-bugs] [Bug 98839] Somehow conditionalize hysteresis (hardware black/whitelist, device property introspection, user-exposed setting, etc)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 27 10:43:06 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=98839
--- Comment #59 from Peter Hutterer <peter.hutterer at who-t.net> ---
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.
http://who-t.blogspot.com.au/2016/09/libinput-and-lenovo-t450-and-t460.html
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.
--
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/20171027/4cd28d6b/attachment-0001.html>
More information about the wayland-bugs
mailing list