mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
fix ratbag-command led setting
This commit is contained in:
@@ -808,7 +808,10 @@ class RatbagdLed(metaclass=MetaRatbag):
|
||||
|
||||
@param color An RGB color, as an integer triplet with values 0-255.
|
||||
"""
|
||||
libratbag.ratbag_led_set_color(self._led, libratbag.ratbag_color(*color))
|
||||
# libratbag.ratbag_led_set_color(self._led, libratbag.ratbag_color(*color))
|
||||
rc = libratbag.ratbag_color()
|
||||
rc.red, rc.green, rc.blue = color
|
||||
libratbag.ratbag_led_set_color(self._led, rc)
|
||||
|
||||
@property
|
||||
def colordepth(self):
|
||||
|
||||
Reference in New Issue
Block a user