782f91a73a
* Add Tomak79S Add Tomak79S * Update keyboards/era/sirind/tomak79s/keymaps/default/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> --------- Co-authored-by: jack <jack@pngu.org>
16 lines
392 B
C
16 lines
392 B
C
// Copyright 2023 Hyojin Bak (@eerraa)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "quantum.h"
|
|
|
|
bool rgb_matrix_indicators_kb(void) {
|
|
if (!rgb_matrix_indicators_user()) {
|
|
return false;
|
|
}
|
|
if (host_keyboard_led_state().caps_lock) {
|
|
for (uint8_t i = 93; i <= 101; i++) {
|
|
rgb_matrix_set_color(i, 0, 128, 128);
|
|
}
|
|
}
|
|
return true;
|
|
} |