Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638)
This commit is contained in:
parent
daea43debf
commit
de4cbe34ff
16 changed files with 20 additions and 16 deletions
|
@ -7,9 +7,9 @@ bool ALPHAS_MODS(effect_params_t* params) {
|
|||
RGB_MATRIX_USE_LIMITS(led_min, led_max);
|
||||
|
||||
HSV hsv = rgb_matrix_config.hsv;
|
||||
RGB rgb1 = hsv_to_rgb(hsv);
|
||||
RGB rgb1 = rgb_matrix_hsv_to_rgb(hsv);
|
||||
hsv.h += rgb_matrix_config.speed;
|
||||
RGB rgb2 = hsv_to_rgb(hsv);
|
||||
RGB rgb2 = rgb_matrix_hsv_to_rgb(hsv);
|
||||
|
||||
for (uint8_t i = led_min; i < led_max; i++) {
|
||||
RGB_MATRIX_TEST_LED_FLAGS();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue