fix ratbag-command key bindings

This commit is contained in:
Kyoken
2022-11-13 22:57:43 +03:00
committed by Yaroslav Chvanov
parent 2eeacc354f
commit 434b0537b5

View File

@@ -634,7 +634,7 @@ class RatbagdButton(metaclass=MetaRatbag):
@key.setter
def key(self, key):
libratbag.ratbag_button_set_key(self._button, key, None, 0)
libratbag.ratbag_button_set_key(self._button, int(key), None, 0)
@property
def action_type(self):