[Wayland-bugs] [Bug 91369] Libinput 0.19 and 0.20 ignore POINTINGSTICK_CONST_ACCEL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 3 21:53:32 PST 2015


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

--- Comment #23 from Justin Wong <justin.w.xd at gmail.com> ---
Each time libinput releases a new version, I would checkout the code and apply
my patch:

--- a/src/filter.c
+++ b/src/filter.c
@@ -720,7 +720,7 @@ trackpoint_accel_profile(struct motion_filter *filter,
        else if (speed_in < threshold)
                factor = 1;
        else
-               factor = incline * v_us2ms(speed_in - threshold) + 1;
+               factor = incline * v_us2ms(speed_in - threshold)/dpi_factor +
1;

        factor = min(max_accel, factor);


The default incline is way tooooo slow for me, please consider adding a option
to help people with slow mouse.

Not everybody uses thinkpad.

-- 
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/20151104/e35b0220/attachment.html>


More information about the wayland-bugs mailing list