Am 2018-01-17 13:26, schrieb Marco Martin:
On Wed, Jan 17, 2018 at 10:33 AM, Marco Martin <notm...@gmail.com> wrote:
Another thing that i think would be needed, is to detect if the tabet mode switch is present at all on the hardware (my use case would be wether show options related to that on the gui side) is that possible at all, in libinput or otherwise? that would end up i guess exposed in the same dbus interface as
the tablet mode switch in KWin

A first prototype for this is at https://phabricator.kde.org/D9944
tough i didn't yet find a correct way to wire it up down to TabletModeManager

You can check how it is done for VirtualKeyboard which gets auto-enabled if there is no keyboard (see line 84).

Cheers
Martin

Reply via email to