detecting tablet mode

Marco Martin notmart at gmail.com
Tue Jan 9 12:27:03 UTC 2018


On Fri, Jan 5, 2018 at 6:21 PM, Martin Flöser <mgraesslin at 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


More information about the Plasma-devel mailing list