kwin/tests
Martin Flöser 9df1744830 Support automatic screen rotation based on orientation sensor
Summary:
This change introduces an OrientationSensor class which wraps a
QOrientationSensor. The OrientationSensor is hold by Screens and gets
enabled if Screens knows about an internal (e.g. LVDS) display which
supports rotation. In addition the OrientationSensor holds an KSni to
enable/disable the automatic rotation support.

The drm platform plugin is adjusted to make use of the OrientationSensor.
The API is defined in a way that this can also be implemented on other
platforms supporting rotation. Most important are hwcomposer and X11
standalone. The latter should be straight forward as rotation is provided
through XRandR. The former needs addition for rotation support first.

Test Plan: Rotated my Yoga 12

Reviewers: #kwin, #plasma, sebas

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8699
2017-11-08 17:44:38 +01:00
..
CMakeLists.txt Support automatic screen rotation based on orientation sensor 2017-11-08 17:44:38 +01:00
cursorhotspottest.cpp [platforms/drm] Fix cursor hotspot for inverted landscape rotation 2017-11-06 16:48:44 +01:00
inputmethodstest.qml Integrate QtVirtualKeyboard into KWin/Wayland 2016-06-02 11:26:53 +02:00
libinputtest.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
normalhintsbasesizetest.cpp [kwin] Add a test application for testing size increment 2014-01-30 15:28:12 +01:00
orientationtest.cpp Support automatic screen rotation based on orientation sensor 2017-11-08 17:44:38 +01:00
pointergesturestest.cpp Forward pointer gestures to Wayland server 2016-11-07 13:45:08 +01:00
pointergesturestest.qml Forward pointer gestures to Wayland server 2016-11-07 13:45:08 +01:00
screenedgeshowtest.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
unmapdestroytest.qml Try to wait for DESTROY_NOTIFY before releasing an Unmanaged 2014-04-16 13:32:11 +02:00
waylandclienttest.cpp [tests] Support a trasient window in the waylandclienttest 2015-10-01 14:03:48 +02:00
waylandclienttest.h [tests] Support a trasient window in the waylandclienttest 2015-10-01 14:03:48 +02:00
x11shadowreader.cpp [tests] Fix build - missing include to QDebug 2016-07-13 10:13:47 +02:00