Skip to content

Commit

Permalink
Merge pull request qmk#1 from moroz-slavomir/patch-1
Browse files Browse the repository at this point in the history
add caps lock indicator
  • Loading branch information
matej-pavla authored Jan 3, 2022
2 parents 79b87f0 + 3cdc0bc commit a05b362
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions keyboards/payne/kyria_1/kyria_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,12 @@ layer_state_t layer_state_set_user(layer_state_t state) {
previous_layer_state = state;
return state;
}

void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
if (host_keyboard_led_state().caps_lock) {
rgb_matrix_set_color(5, RGB_RED);
rgb_matrix_set_color(9, RGB_RED);
rgb_matrix_set_color(6, RGB_RED);
rgb_matrix_set_color(8, RGB_RED);
}
}

0 comments on commit a05b362

Please sign in to comment.