[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: detecting tablet mode
From: Martin_Flöser <mgraesslin () kde ! org>
Date: 2018-01-18 18:43:34
Message-ID: b62e70bec196ad8c941cb6fecd784930 () kde ! org
[Download RAW message or body]
Am 2018-01-17 13:26, schrieb Marco Martin:
> On Wed, Jan 17, 2018 at 10:33 AM, Marco Martin <notmart@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic