Skip to content

Commit

Permalink
add caps lock indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
moroz-slavomir authored Dec 14, 2021
1 parent 79b87f0 commit 3cdc0bc
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 3cdc0bc

Please sign in to comment.