[PATCH libinput v7 0/2] add orientation, size and pressure of touch
Andreas Pokorny
andreas.pokorny at canonical.com
Sun Sep 6 05:55:11 PDT 2015
Hi,
I cannot believe this is v7, but here it goes. This version solves the problem
with the missing initial values for the added slot data. I dumped the
'available data' flag set. Doxygen wording should be consistent now. Since you
indicated that you would redo some of the texts anyhow I left the awkwardness
in place :).
The extension to the event debugger and event gui tools are moved to a follow
up patch. Since the usually reported major / minor values are very small in
most cases, I used a filled and a stroked ellipse to display touch contacts. As
soon as we add calibration data for those properties we might want to change that.
Andreas Pokorny (2):
libinput: add orientation and size of touch point and pressure to the
API
extend tools to print and display touch event properties
doc/Makefile.am | 2 +
doc/page-hierarchy.dox | 1 +
doc/svg/touchscreen-touch-event-properties.svg | 347 +++++++++++++++++++++++++
doc/touch-event-properties.dox | 42 +++
src/evdev.c | 224 ++++++++++++++--
src/evdev.h | 24 ++
src/libinput-private.h | 13 +-
src/libinput-util.h | 6 +
src/libinput.c | 212 ++++++++++++++-
src/libinput.h | 222 ++++++++++++++++
src/libinput.sym | 13 +
test/touch.c | 241 +++++++++++++++++
tools/event-debug.c | 30 ++-
tools/event-gui.c | 30 ++-
14 files changed, 1371 insertions(+), 36 deletions(-)
create mode 100644 doc/svg/touchscreen-touch-event-properties.svg
create mode 100644 doc/touch-event-properties.dox
--
2.5.0
More information about the wayland-devel
mailing list