xf86-input-libinput: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Tue Jan 3 23:59:21 UTC 2017
include/libinput-properties.h | 7 +
man/libinput.man | 30 ++++++
src/Makefile.am | 5 -
src/bezier.c | 177 +++++++++++++++++++++++++++++++++++++
src/bezier.h | 69 ++++++++++++++
src/xf86libinput.c | 184 ++++++++++++++++++++++++++++++++++++++
test/Makefile.am | 5 -
test/test-bezier.c | 199 ++++++++++++++++++++++++++++++++++++++++++
8 files changed, 671 insertions(+), 5 deletions(-)
New commits:
commit 5d0470738125243c98f7a8cc40d62f53604a8051
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Oct 24 14:41:51 2016 +1000
Implement stylus pressure curve support
Takes a 4-point cubic bezier curve as input and maps the pressure coordinates
to the values outlined by this curve. This is an extension of the current
implementation in the xf86-input-wacom driver which only allows the two center
control points to be modified.
Over the years a few users have noted that the wacom driver's pressure curve
makes it impossible to cap the pressure at a given value. Given our bezier
implementation here, it's effectively a freebie to add configurability of the
first and last control points. We do require all control points' x coordinates
to be in ascending order.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit f65a5c50224efc34414f44c86700e15392b7039b
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed Oct 26 11:57:49 2016 +1000
Add a bezier curve implementation
Needed for the wacom stylus pressure curve
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-commit
mailing list