graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application edited projects, added Plasma; removed KWin.
REVISION SUMMARY This change introduces a new SwitchEvent and passes it through the InputEventSpy and InputEventFilter. The DebugConsoleFilter implements it so that the events can be monitored in the debug console. TEST PLAN Untested as my only device with such switches has too old libinput REPOSITORY R108 KWin BRANCH switch-event REVISION DETAIL https://phabricator.kde.org/D9521 AFFECTED FILES autotests/libinput/input_event_test.cpp debug_console.cpp debug_console.h input.cpp input.h input_event.cpp input_event.h input_event_spy.cpp input_event_spy.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart