graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION 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 REPOSITORY rKWIN KWin BRANCH libinput-gesture-support REVISION DETAIL https://phabricator.kde.org/D2359 AFFECTED FILES autotests/libinput/CMakeLists.txt autotests/libinput/gesture_event_test.cpp autotests/libinput/mock_libinput.cpp autotests/libinput/mock_libinput.h debug_console.cpp debug_console.h input.cpp input.h libinput/connection.cpp libinput/connection.h libinput/events.cpp libinput/events.h pointer_input.cpp pointer_input.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, ali-mohamed, hardening, jensreuterberg, abetts, sebas
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel