summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/maja/maja.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/maja/maja.c')
-rwxr-xr-xkeyboards/kbdfans/maja/maja.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/kbdfans/maja/maja.c b/keyboards/kbdfans/maja/maja.c
index 545d8c46e2..a0afcbda8a 100755
--- a/keyboards/kbdfans/maja/maja.c
+++ b/keyboards/kbdfans/maja/maja.c
@@ -102,3 +102,12 @@ void suspend_wakeup_init_kb(void) {
rgb_matrix_set_suspend_state(false);
suspend_wakeup_init_user();
}
+
+__attribute__ ((weak))
+void rgb_matrix_indicators_user(void)
+{
+ if (host_keyboard_led_state().caps_lock)
+ {
+ rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
+ }
+}