[Wayland-bugs] [Bug 90735] Touchpad does not feel "right", acceleration issue
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 25 21:34:49 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90735
--- Comment #23 from Peter Hutterer <peter.hutterer at who-t.net> ---
Velimir, works for me, feels just fine on my T440 here, fwiw the decel was
something I that would've made a return anyway, it just was missing from the
branch I'm working on here.
Not sure you're aware of this, but this one has a jump at the threshold where
it goes from ~0.28 to 0.3. Other than that it's pretty much a straight line
from (0, 0.2) to (3, 0.4) with no plateaus like the current code.
so this could be simplified with:
speed = 0.0666 * speed_in + 0.2;
factor = min(max_accel, speed)
fwiw ./tools/ptraccel-debug --mode=accel produces a graph of the accel
function, though you'll need this diff first:
+++ b/tools/ptraccel-debug.c
@@ -276,7 +276,8 @@ main(int argc, char **argv)
if (dpi < 1000)
profile = pointer_accel_profile_linear_low_dpi;
else
- profile = pointer_accel_profile_linear;
+ profile = touchpad_accel_profile_linear;
+ // profile = pointer_accel_profile_linear;
filter = create_pointer_accelerator_filter(profile, dpi);
assert(filter != NULL);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150626/f5e18055/attachment.html>
More information about the wayland-bugs
mailing list