[Wayland-bugs] [Bug 90735] Touchpad does not feel "right", acceleration issue

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 25 16:08:06 PDT 2015


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

--- Comment #21 from Velimir Lisec <lisec.velimir at gmail.com> ---
Hi Britt and Peter,

I've tried using the touchpad with the patch from comment 15 applied, and it
feels better then the current git master. But to me personally it's too slow. I
guess when the slider work gets finished I could just speed it up from the
settings. The more serious problem is that there's no deceleration, minimum
speed is baseline. That's too fast for slow movements. I've been playing with
the parameters and this is what feels nice to me (also, I added deceleration at
slow speeds):

    double baseline = 0.3;
    double min_speed = 0.2;
    threshold = 1.4;
    max_accel = 0.8;
    incline = 0.06;

    s1 = min(baseline, min_speed + speed_in * incline);
    s2 = baseline + (speed_in - threshold) * incline;

    factor =  min(max_accel, s2 > baseline ? s2 : s1);

-- 
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/20150625/f008b07d/attachment.html>


More information about the wayland-bugs mailing list