romangg created this revision. romangg added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. romangg requested review of this revision.
REVISION SUMMARY This adds feature flags if a backend supports auto rotations. While this is not directly a function of a backend on X11 auto rotation is not tested fully yet and there are problems with touch input. This way a client can query if auto rotation is fully functional on a backend. For the KWayland backend auto rotation and tablet mode information querying is already wired up but for now deactivated until all KWin patches have been landed. TEST PLAN Compiles and tests with an XPS 2-in-1, which sadly does not send events about the tablet state. REPOSITORY R110 KScreen Library BRANCH tabletmode REVISION DETAIL https://phabricator.kde.org/D26281 AFFECTED FILES backends/kwayland/CMakeLists.txt backends/kwayland/org.kde.KWin.TabletModeManager.xml backends/kwayland/waylandconfig.cpp backends/kwayland/waylandconfig.h src/config.cpp src/config.h To: romangg, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart