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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 6 00:06:15 PST 2015


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

--- Comment #27 from Peter Hutterer <peter.hutterer at who-t.net> ---
E: POINTINGSTICK_CONST_ACCEL=3
this means we're treating it like a 333 dpi device which has a bit of a
different acceleration, see
http://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html

the incline is the same but it should kick in a lot sooner than before, making
the device a bit faster. tbh, your patch shouldn't even have an effect, the
accel function used should be pointer_accel_profile_linear_low_dpi(). can you
verify this please?

(In reply to Justin Wong from comment #25)
> And also, limiting linear accel from -1 to 1 is made it impossible for me to
> adjust pointer speed to an acceptable value using normal way.

-1 and 1 are just values for "slowest" and "fastest", they don't literally map
to -1 and 1. See the curves in the first diagram of that link above, that's how
they currently map for the normal accel function. We have much more liberty on
how we handle this.

Feel free to come up with a separate trackpoint acceleration function (it
really has to be completely separate, look at the x230 bits for help). Then we
can fine-tune that. We may need different ones long-term because not all
trackpoints behave the same, but I'm currently flat out with other stuff so if
you get started, that's only going to help.

-- 
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/20151106/dc2aae07/attachment.html>


More information about the wayland-bugs mailing list