damianatorrpm / wayfire-plugin_dbus_interface

DBus Plugin for wayfire
MIT License
11 stars 6 forks source link

Add tablet-mode #45

Open AdrianVovk opened 3 years ago

AdrianVovk commented 3 years ago

There's a Wayfire event called "tablet-mode" which dictates whether or not the device's tablet mode switch is enabled or not. It would be great if this could be exposed to clients via dbus. Ideally via 3 states: enabled, disabled, or missing (where missing = never got an event = there's probably no tablet mode switch).

Use case: my display management service, part of gde-gnome-bridge, would use this to determine if the the on screen keyboard should be enabled/disabled and adjust how autorotation behaves

damianatorrpm commented 3 years ago

Hi @AdrianVovk Currently I otherwise occupied, feel free to PR. @soreau also has write access to this repository