Update keycodes for keyboards with RGB Matrix (#24484)

This commit is contained in:
Ryan 2024-11-24 23:03:08 +11:00 committed by GitHub
parent 7d8f193988
commit f3bae56808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
345 changed files with 923 additions and 941 deletions

View file

@ -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;