On Fri, Jan 5, 2018 at 6:21 PM, Martin Flöser <mgraess...@kde.org> wrote: > > So I would do something like a small class > > class TabletModeManager : public QObject, public InputEventSpy > { > }; >
I'm starting on this direction now, another thing: libinput has the event for the mode change, but is there a way to query the initial state to know whether kwi was started in tablet or desktop mode? -- Marco Martin