kwin/autotests/libinput
Martin Gräßlin cc2f4e3240 Support for relative pointer motion events
Summary:
If KWin interacts with Libinput the RelativePointerManager interface
gets created on the Wayland server. The ForwardInputEventFilter does
forward the relative motion events in addition to the normal motion
events.

In order to properly support the relative motion events as they are
expected by the Wayland protocol the handling of pointer motion events
got slightly adjusted:
* Libinput Pointer event extended by the additional data points
* Libinput Pointer event carries the delta as a QSizeF instead of
QPointF
* PointerInputRedirection adjusted to take a pointer motion event with
more arguments
* Custom QMouseEvent subclass adjusted to carry the additional members

The DebugConsole is adjusted to show the relative motion events in
addition to the global position.

Test Plan:
Verified the manager object is created and verified the
events in DebugConsole. Unfortunately not aware of any test application.

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D2979
2016-10-12 11:26:46 +02:00
..
CMakeLists.txt [libinput] Expose all input devices through DBus 2016-08-15 16:10:50 +02:00
context_test.cpp [libinput] A not valid LibInput::Context should return -1 as filedescriptor 2016-06-02 16:23:23 +02:00
device_test.cpp [autotests/integration] Fix TestLibinputDevice::testName 2016-08-15 17:21:45 +02:00
gesture_event_test.cpp [libinput] Add support for gesture events 2016-08-08 09:15:06 +02:00
input_event_test.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
key_event_test.cpp [autotest/libinput] Verify that Event::create can handle a null argument 2016-05-31 10:15:44 +02:00
mock_libinput.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
mock_libinput.h [autotests/libinput] Set a valid sysName by default 2016-08-15 16:55:10 +02:00
mock_udev.cpp [autotest/libinput] Add a basic test for Context 2016-06-02 15:55:34 +02:00
mock_udev.h [autotest/libinput] Add a basic test for Context 2016-06-02 15:55:34 +02:00
pointer_event_test.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
touch_event_test.cpp [autotest/libinput] Add a mocked test for Libinput::TouchEvent 2016-05-31 10:14:28 +02:00