1
0
forked from drath/libratbag

tools: ratbagctl: add missing led types

Or the G502 fails while reading the LEDs

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2017-10-09 19:14:04 +02:00
parent 186d626c40
commit c3be9e1af1

View File

@@ -128,6 +128,8 @@ def print_led(d, p, l, level):
types = {
RatbagdLed.TYPE_LOGO: "logo",
RatbagdLed.TYPE_SIDE: "side",
RatbagdLed.TYPE_BATTERY: "battery",
RatbagdLed.TYPE_DPI: "dpi",
}
depths = {
RatbagdLed.COLORDEPTH_MONOCHROME: "monochrome",