WIP: custom pointer acceleration curve
This is the same patch previously reverted in 2167c3af but with an extra feature of allowing to set a constant factor (the lack of which caused the crashes back then). Basic principle:
- set the profile to "custom/speed"
- define an acceleration curve
- set a constant factor for non-accelerated motion
and off you go. The patches have documentation on how it works. libinput debug-*
invocation is something like:
sudo ./build/libinput-debug-gui --set-profile=custom-speed \
--set-accel-curve-points="0:0.1;1:1.0;2:1.0" \
--set-constant-factor=0.27
Definitely WIP and hasn't fully been tested with all corner cases. No guarantee this will get merged but it at least makes experimenting easier.
If you use this branch, please get in contact. Because if it's just sitting there for the fun of it, well, what's the point.
cc @mdmayfield
Related to e.g. #350