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 [libinput] A not valid LibInput::Context should return -1 as filedescriptor 2016-06-02 16:23:23 +02:00
context.h Move Udev into an own header and implementation 2015-04-24 12:03:19 +02:00
device.cpp [libinput] Add optional device detection for cap tablet tool 2016-08-03 09:31:47 +02:00
device.h [libinput] Track all created Devices in Device 2016-05-25 12:13:03 +02:00
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 [libinput] Add dedicated logging category for libinput 2015-07-31 12:43:35 +02:00