1
0
Fork 0

Migrate RGB Matrix config to info.json - TUVW (#22910)

This commit is contained in:
Joel Challis 2024-01-16 01:16:31 +00:00 committed by GitHub
parent e30d0e5287
commit e1f59a6efc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 465 additions and 801 deletions

View file

@ -133,13 +133,13 @@ bool rgb_matrix_indicators_kb(void) {
return false;
}
if (host_keyboard_led_state().caps_lock) {
for (uint8_t i = 0; i < DRIVER_1_LED_TOTAL; i++) {
for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; i++) {
rgb_matrix_set_color(i, 0xFF, 0xFF, 0xFF);
}
}
else {
if (rgb_matrix_get_flags() == LED_FLAG_NONE) {
for (uint8_t i = 0; i < DRIVER_1_LED_TOTAL; i++) {
for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; i++) {
rgb_matrix_set_color(i, 0, 0, 0);
}
}