Revert "Expose a custom acceleration profile"
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 May 2018 02:09:42 +0000 (12:09 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 May 2018 02:15:25 +0000 (12:15 +1000)
commit33162632cb51e32851100013536f8566a68e0667
treec21f9d03adf8efcd991d9e0e1cff7aec84797c48
parenteae33ffcf0977d18df85ac09028497e010b5c939
Revert "Expose a custom acceleration profile"

This looked good on paper but clearly no-one (including myself) ever tested this
in a real-life situation or they would've noticed that the constant factor is
missing, causing a segfault on the first two-finger scroll event, touchpad
gesture or button scrolling.

Adding the constant factor makes the API much worse and the benefit is
unclear, so out of the window it goes. We can revisit this for libinput 1.12
but this isn't going to make the next release.

This reverts commit d8bd650540e68e8b648e76180c5eee0f19a3b893.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 files changed:
doc/pointer-acceleration.dox
doc/svg/ptraccel-curve-example.svg [deleted file]
meson.build
src/evdev.c
src/filter-custom.c [deleted file]
src/filter-private.h
src/filter.c
src/filter.h
src/libinput-private.h
src/libinput.c
src/libinput.h
src/libinput.sym
tools/libinput-debug-events.man
tools/libinput-list-devices.c
tools/ptraccel-debug.c
tools/shared.c
tools/shared.h