[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: detecting tablet mode
From:       Marco Martin <notmart () gmail ! com>
Date:       2018-01-09 12:27:03
Message-ID: CAD6_BouoG7b2cc+=YtjR2cSqrHpyewnVR=GGQU3Y=NJujr7ESg () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jan 5, 2018 at 6:21 PM, Martin Fl=C3=B6ser <mgraesslin@kde.org> wro=
te:
>
> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic