introduce a custom acceleration profile (closes #350).
see docs for more details.
based on merge request !297 (closed) with a few key changes:
The points are space evenly along the x-axis starting from 0 in regular jumps of delta-x,
allowing access to them in O(1) instead of O(n).
thus supporting granular control for even 'crazy' transfer functions.
currently the limit is 10k points (arbitrary).
can be tested using:
sudo ./builddir/libinput-debug-gui --verbose \
--set-profile=custom \
--set-custom-points=1.0,1.0 \
--set-custom-step=1.0 \
--set-custom-type=1
(a flat profile)
You can try creating points from windows acceleration function
(I can't guarantee the calculation is current).