[Differential] [Request, 798 lines] D2359: [libinput] Add support for gesture events

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Aug 5 12:40:56 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160805/4e5b51aa/attachment-0001.html>


More information about the Plasma-devel mailing list