diff options
author | moyi4681 <moyi4681@users.noreply.github.com> | 2020-10-08 04:48:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 13:48:30 -0700 |
commit | 0a69225637ab488e3dd7d01a21763f20aab4bc81 (patch) | |
tree | 9fd5f8904c8ce61afb12f4958978055e4a8e5d1f /keyboards/kbdfans/maja | |
parent | bc79e5199071472f3d728826f381abf8cca59456 (diff) |
[Keyboard] add maja capslock indicator (#10151)
* add maja capslock indicator
add maja capslock indicator
* Update keyboards/kbdfans/maja/maja.c
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/kbdfans/maja')
-rwxr-xr-x | keyboards/kbdfans/maja/maja.c | 9 |
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); + } +} |