Pass SwitchEvent from LibInput through KWin and add to DebugConsole
ClosedPublic

Authored by graesslin on Dec 27 2017, 7:27 PM.

Details

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

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Dec 27 2017, 7:27 PM
Restricted Application added a project: KWin. · View Herald TranscriptDec 27 2017, 7:27 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
graesslin requested review of this revision.Dec 27 2017, 7:27 PM
Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptDec 27 2017, 7:27 PM
Restricted Application edited projects, added KWin; removed Plasma. · View Herald TranscriptDec 27 2017, 7:28 PM
Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptDec 27 2017, 9:58 PM
mart accepted this revision.Jan 8 2018, 4:00 PM
This revision is now accepted and ready to land.Jan 8 2018, 4:00 PM
Restricted Application edited projects, added KWin; removed Plasma. · View Herald TranscriptJan 8 2018, 4:00 PM
This revision was automatically updated to reflect the committed changes.
Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptJan 9 2018, 6:33 PM