mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
G300: set the color depth
This commit is contained in:
committed by
Thomas H. P. Andersen
parent
94e0842a06
commit
f3208b499b
@@ -390,6 +390,7 @@ logitech_g300_read_led(struct ratbag_led *led)
|
||||
|
||||
led->type = RATBAG_LED_TYPE_SIDE;
|
||||
led->mode = RATBAG_LED_ON;
|
||||
led->colordepth = RATBAG_LED_COLORDEPTH_MONOCHROME;
|
||||
led->color.red = profile_report->led_red * 255;
|
||||
led->color.green = profile_report->led_green * 255;
|
||||
led->color.blue = profile_report->led_blue * 255;
|
||||
|
||||
Reference in New Issue
Block a user