mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
committed by
Benjamin Tissoires
parent
afaf3fa83d
commit
77847f570c
@@ -763,21 +763,6 @@ class RatbagdButton(_RatbagdDBus):
|
||||
"""
|
||||
self._set_dbus_property("SpecialMapping", "u", special)
|
||||
|
||||
@GObject.Property
|
||||
def key(self):
|
||||
"""A list of integers, the first being the keycode and the other
|
||||
entries, if any, are modifiers (if mapped to key)."""
|
||||
return self._get_dbus_property("KeyMapping")
|
||||
|
||||
@key.setter
|
||||
def key(self, keys):
|
||||
"""Set the key mapping.
|
||||
|
||||
@param keys A list of integers, the first being the keycode and the rest
|
||||
modifiers.
|
||||
"""
|
||||
self._set_dbus_property("KeyMapping", "au", keys)
|
||||
|
||||
@GObject.Property
|
||||
def action_type(self):
|
||||
"""An enum describing the action type of the button. One of
|
||||
|
||||
Reference in New Issue
Block a user