libinput/tools
Peter Hutterer d8bd650540 Expose a custom acceleration profile
This adds a third profile to the available profiles to map device-specific
speed to an acceleration factor, fully defined by the caller.

There has been a consistent call for different acceleration profiles in
libinput, but very little specifics in what actually needs to be changed.
"faster horses" and whatnot (some notable exceptions in e.g. bug 101139).
Attempts to change the actual acceleration function will likely break things
for others.

This approach opens up the profile itself to a user-specific acceleration
curve. A caller can set an acceleration curve by defining a number of points
on that curve to map input speed to an output factor. That factor is applied
to the input delta.

libinput does relatively little besides mapping the deltas to the
device-specific speed, querying the curve for that speed and applying that
factor. The curve is device-specific, the input speed is in device units/ms.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-04-26 14:48:37 +10:00
..
libinput-debug-events.c tools: libinput-debug-events stop variable needs volatile 2018-03-15 08:06:54 +10:00
libinput-debug-events.man Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
libinput-debug-gui.c Include stdarg.h where variadic functions are used 2017-12-01 09:31:42 +10:00
libinput-debug-gui.man tools: tidy up the libinput man pages again 2017-07-03 15:04:11 +10:00
libinput-list-devices.c Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
libinput-list-devices.man tools: add the libinput version to the man pages 2017-07-03 11:09:03 +10:00
libinput-measure-touch-size tools: fix inverse up/down threshold handling in measure touch-size 2018-02-27 15:17:39 +10:00
libinput-measure-touch-size.man tools: fix missing words in man page 2017-11-09 13:51:35 +10:00
libinput-measure-touchpad-pressure tools: touchpad-pressure: init the lo/hi values correctly 2018-03-20 15:32:01 +10:00
libinput-measure-touchpad-pressure.man tools: add a tool to measure touch pressure 2017-07-03 15:58:58 +10:00
libinput-measure-touchpad-tap libinput-measure-touchpad-tap: use /usr/bin/env to invoke python3 2018-02-20 11:11:08 +10:00
libinput-measure-touchpad-tap.man tools: fix typo in man page 2017-11-16 13:13:28 +10:00
libinput-measure-trackpoint-range tools: print out the device used for measuring the trackpoint range 2017-11-29 14:16:03 +10:00
libinput-measure-trackpoint-range.man tools: add a command to analyze trackpoints 2017-07-20 11:53:01 +10:00
libinput-measure.c tools: fix option parsing in libinput measure 2018-02-26 13:53:40 +10:00
libinput-measure.man tools: add a command to analyze trackpoints 2017-07-20 11:53:01 +10:00
libinput-record-verify-yaml.py tools: yaml verifier: fix some flake8 warnings 2018-04-19 16:04:41 +10:00
libinput-record.c tools: libinput-record: add gesture support 2018-04-19 16:04:41 +10:00
libinput-record.man tools: libinput-record: add support for printing libinput events 2018-03-19 14:24:15 +10:00
libinput-replay tools: libinput-replay: handle a nonzero offset for the first event 2018-04-19 16:04:41 +10:00
libinput-replay.man tools: add a libinput-replay tool 2018-03-01 11:50:46 +10:00
libinput-tool.c tools: fix invocation of subtools 2017-06-26 18:44:00 +10:00
libinput.man tools: add a libinput-record tool 2018-03-01 11:50:46 +10:00
make-ptraccel-graphs.sh tools: fix the script to make ptraccel graphs for meson's builddir 2018-04-26 14:02:18 +10:00
ptraccel-debug.c Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
publish-doc tools: update the publish-doc tool to use ninja 2017-06-13 12:28:37 +10:00
shared.c Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
shared.h Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00