1
0
forked from drath/libratbag

Drop the switchable-profile device capability

If we have more than one profile, we can switch between them. Because
otherwise having more than one profile is just showing off and we don't like
that type of behaviour, no no.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2019-02-20 12:24:14 +10:00
parent d24ea1e662
commit d6bbc33dda
9 changed files with 3 additions and 20 deletions

View File

@@ -258,7 +258,6 @@ def print_device(d, level):
caps = {RatbagdDevice.CAP_RESOLUTION: "resolution",
RatbagdDevice.CAP_PROFILE: "profile",
RatbagdDevice.CAP_BUTTON: "button",
RatbagdDevice.CAP_PROFILE_SWITCHABLE: "switchable-profile",
RatbagdDevice.CAP_BUTTON_KEY: "button-keys",
RatbagdDevice.CAP_BUTTON_MACROS: "button-macros",
RatbagdDevice.CAP_QUERY_CONFIGURATION: "query-configuration",

View File

@@ -321,7 +321,6 @@ class RatbagdDevice(_RatbagdDBus):
CAP_QUERY_CONFIGURATION = 1
CAP_RESOLUTION = 100
CAP_PROFILE = 200
CAP_PROFILE_SWITCHABLE = 201
CAP_BUTTON = 300
CAP_BUTTON_KEY = 301
CAP_BUTTON_MACROS = 302