From 9ddf16257649f2ddd3774f90af8d06b18cd5f7ce Mon Sep 17 00:00:00 2001
From: Philippe Eberli
Date: Tue, 13 Feb 2024 22:57:01 +0100
Subject: [PATCH] CapsLock -> CapsWord
---
keymap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keymap.c b/keymap.c
index 033a891..9e6c3e6 100644
--- a/keymap.c
+++ b/keymap.c
@@ -85,7 +85,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
// RGB_MATRIX_INDICATOR_SET_COLOR(index, red, green, blue);
- if (host_keyboard_led_state().caps_lock) {
+ if (host_keyboard_led_state().caps_lock || is_caps_word_on()) {
RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_LED_INDEX, 255, 0, 0);
} else {
if (!rgb_matrix_get_flags()) {