summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-12-06 01:26:21 +0000
committerQMK Bot <hello@qmk.fm>2021-12-06 01:26:21 +0000
commit590082520ed7623ee41c5fb7266507a84e5a0b8b (patch)
tree5627708313d12a15012a760da25ccd76cc81ce78 /keyboards
parenta2990188242561de09a433dd0b941140553a65e5 (diff)
parentc54c0fdc2c247f187e502d726be68be975fd9c07 (diff)
downloadqmk_firmware-590082520ed7623ee41c5fb7266507a84e5a0b8b.tar.gz
qmk_firmware-590082520ed7623ee41c5fb7266507a84e5a0b8b.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c b/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c
index b405a9f204..734d2ee677 100644
--- a/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c
+++ b/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c
@@ -41,4 +41,12 @@ led_config_t g_led_config = { {
1, 1, 1, 4, 1, 1, 1, 1, 1, 1, // Ctrl, GUI, Alt, Space, RAlt, FN, Ctrl, Left, Down, Right
2, 2, 2, 2, 2, 2 // UNDERGLOW
} };
+
+//CAPS backlight
+__attribute__ ((weak))
+void rgb_matrix_indicators_user(void) {
+ if (host_keyboard_led_state().caps_lock) {
+ rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
+ }
+}
#endif