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>
Showing
- src/evdev.c 18 additions, 44 deletionssrc/evdev.c
- src/libinput-private.h 20 additions, 7 deletionssrc/libinput-private.h
- src/libinput.c 73 additions, 20 deletionssrc/libinput.c
- src/libinput.h 21 additions, 33 deletionssrc/libinput.h
- test/touch.c 1 addition, 5 deletionstest/touch.c
- tools/event-debug.c 26 additions, 19 deletionstools/event-debug.c
Loading
Please register or sign in to comment