Rename RGB/HSV structs: keyboard-level code (#24476)
This commit is contained in:
parent
5478051d74
commit
9884e4982b
43 changed files with 215 additions and 215 deletions
|
@ -168,10 +168,10 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
|||
bool rgb_matrix_indicators_user(void) {
|
||||
rgb_matrix_set_color(2, 0, 0, 0);
|
||||
|
||||
HSV hsv = rgb_matrix_config.hsv;
|
||||
hsv_t hsv = rgb_matrix_config.hsv;
|
||||
uint8_t time = scale16by8(g_rgb_timer, qadd8(32, 1));
|
||||
hsv.h = time;
|
||||
RGB rgb = hsv_to_rgb(hsv);
|
||||
rgb_t rgb = hsv_to_rgb(hsv);
|
||||
|
||||
if ((rgb_matrix_get_flags() & LED_FLAG_KEYLIGHT)) {
|
||||
if (host_keyboard_led_state().caps_lock) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue