From 3cdc0bc0eef523fb61c60239106d96a21eace778 Mon Sep 17 00:00:00 2001 From: Slavomir Moroz Date: Tue, 14 Dec 2021 19:47:50 +0100 Subject: [PATCH] add caps lock indicator --- keyboards/payne/kyria_1/kyria_1.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/keyboards/payne/kyria_1/kyria_1.c b/keyboards/payne/kyria_1/kyria_1.c index 24870b8fcac1..c6602942482b 100644 --- a/keyboards/payne/kyria_1/kyria_1.c +++ b/keyboards/payne/kyria_1/kyria_1.c @@ -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); + } +}