Split up the touch event into the different touch types
authorJonas Ådahl <jadahl@gmail.com>
Wed, 19 Feb 2014 20:39:26 +0000 (21:39 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 26 Feb 2014 18:32:33 +0000 (19:32 +0100)
commit6f0ca1a3866afeda3b5eed101f497d1fc66131be
tree23e542f1f0cd43b8b0473aa8b7a7f616692b9d6a
parente80cff7b0e18da0ac57662afb99e5ec396ab3786
Split up the touch event into the different touch types

Instead of having one touch events representing different types of touch
events by providing a touch type, have one separate event type per touch
type. This means the LIBINPUT_EVENT_TYPE_TOUCH is replaced with
LIBINPUT_EVENT_TYPE_TOUCH_DOWN, LIBINPUT_EVENT_TYPE_TOUCH_MOTION,
LIBINPUT_EVENT_TYPE_TOUCH_UP and LIBINPUT_EVENT_TYPE_TOUCH_CANCEL.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/evdev.c
src/libinput-private.h
src/libinput.c
src/libinput.h
test/touch.c
tools/event-debug.c