forked from drath/libratbag
tools/ratbagd.py: sync with Piper
This commit is contained in:
committed by
Benjamin Tissoires
parent
7e9566b00f
commit
d8e132f550
@@ -515,6 +515,7 @@ class RatbagdButton(_RatbagdDBus):
|
||||
"""
|
||||
ret = self._dbus_call("SetButtonMapping", "u", button)
|
||||
self._set_dbus_property("ButtonMapping", "u", button, readwrite=False)
|
||||
self.notify("action-type")
|
||||
return ret
|
||||
|
||||
@GObject.Property
|
||||
@@ -536,6 +537,7 @@ class RatbagdButton(_RatbagdDBus):
|
||||
"""
|
||||
ret = self._dbus_call("SetMacro", "a(uu)", macro)
|
||||
self._set_dbus_property("Macro", "a(uu)", macro, readwrite=False)
|
||||
self.notify("action-type")
|
||||
return ret
|
||||
|
||||
@GObject.Property
|
||||
@@ -551,6 +553,7 @@ class RatbagdButton(_RatbagdDBus):
|
||||
"""
|
||||
ret = self._dbus_call("SetSpecialMapping", "u", special)
|
||||
self._set_dbus_property("SpecialMapping", "u", special, readwrite=False)
|
||||
self.notify("action-type")
|
||||
return ret
|
||||
|
||||
@GObject.Property
|
||||
@@ -568,6 +571,7 @@ class RatbagdButton(_RatbagdDBus):
|
||||
"""
|
||||
ret = self._dbus_call("SetKeyMapping", "au", keys)
|
||||
self._set_dbus_property("KeyMapping", "au", keys, readwrite=False)
|
||||
self.notify("action-type")
|
||||
return ret
|
||||
|
||||
@GObject.Property
|
||||
|
||||
Reference in New Issue
Block a user