mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
sinowealth: use commonly available breathing mode
The DM5 does not have the RGB_BREATHING1 mode, but does have the RGB_BREATHING7 mode. This changes the driver to map to the commonly available mode.
This commit is contained in:
@@ -481,7 +481,7 @@ sinowealth_commit(struct ratbag_device *device)
|
||||
config->glorious_mode = sinowealth_led_to_rgb_mode(led);
|
||||
break;
|
||||
case RATBAG_LED_BREATHING:
|
||||
config->rgb_effect = RGB_BREATHING1;
|
||||
config->rgb_effect = RGB_BREATHING7;
|
||||
config->breathing1_color = sinowealth_color_to_rbg(led->color);
|
||||
config->breathing1_mode = sinowealth_led_to_rgb_mode(led);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user