mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
[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>
This commit is contained in:
parent
bc79e51990
commit
0a69225637
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue