Update keycodes for keyboards with RGB Matrix (#24484)
This commit is contained in:
parent
7d8f193988
commit
f3bae56808
345 changed files with 923 additions and 941 deletions
|
@ -33,7 +33,7 @@ static hsv_t INTERPOLATE_HSV(float step, hsv_t gradient_0, hsv_t gradient_100) {
|
|||
|
||||
color.s = gradient_0.s + step * (gradient_100.s - gradient_0.s);
|
||||
|
||||
// Scale V with global RGB Matrix's V, so users can still control overall brightness with RGB_VAI & RGB_VAD0
|
||||
// Scale V with global RGB Matrix's V, so users can still control overall brightness with RM_VALU & RM_VALD
|
||||
color.v = round((gradient_0.v + step * (gradient_100.v - gradient_0.v)) * ((float)rgb_matrix_config.hsv.v / 255));
|
||||
|
||||
return color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue