detecting tablet mode

Marco Martin notmart at gmail.com
Mon Jan 8 10:25:21 UTC 2018


On Mon, Jan 8, 2018 at 11:06 AM, Sebastian Kügler <sebas at kde.org> wrote:
>
> FWIW, I have two X1 Yoga laptops (gen1 and gen2) with recent kernels at my
> disposal  that I could probably test this feature on.

to see if it "just works", can you try to just put some dobug output in
connection.cpp around line 467 at the switch cases
case SwitchEvent::State::Off:
case SwitchEvent::State::On:

and then see if that output comes up when you flip the lid?
(you need libinput 1.9 for that)

--
Marco Martin


More information about the Plasma-devel mailing list