kwin/libinput
Martin Gräßlin 8a83a6fef5 [libinput] Add support for gesture events
Summary:
Gesture events are swipe or pinch events on a touch pad.

This change implements basic support by:
 * wrapping them in LibInput::Event
 * processing them in LibInput::Connection and emitting
   dedicated signals
 * Forwarding them in InputRedirection to PointerInputRedirection
 * Support them in the internal input event filter
 * Printing debug information in DebugConsole

Further handling is not yet done. In future the following should be
implemented:
 * activating e.g. zoom and present windows on pinch/swipe gesture
 * forwarding non global gestures to KWayland

Note that forwarding to KWayland is not yet useful as QtWayland does
not yet have support for the unstable protocol. No Qt application could
make use of it yet. So for the moment just global gestures is the best
we can get.

Test Plan: Looked at output of DebugConsole when triggering gestures

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D2359
2016-08-08 09:15:06 +02:00
..
connection.cpp [libinput] Add support for gesture events 2016-08-08 09:15:06 +02:00
connection.h [libinput] Add support for gesture events 2016-08-08 09:15:06 +02:00
context.cpp
context.h
device.cpp [libinput] Add optional device detection for cap tablet tool 2016-08-03 09:31:47 +02:00
device.h
events.cpp [libinput] Add support for gesture events 2016-08-08 09:15:06 +02:00
events.h [libinput] Add support for gesture events 2016-08-08 09:15:06 +02:00
libinput_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
libinput_logging.h