keychron_qmk_firmware/keyboards/era/sirind/tomak/tomak.c
era ae8458e12d
[Keyboard] Add SIRIND TOMAK (#23554)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
2024-04-29 19:32:43 -07:00

16 lines
427 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) {
rgb_matrix_set_color(96, 0, 128, 128);
rgb_matrix_set_color(97, 0, 128, 128);
rgb_matrix_set_color(98, 0, 128, 128);
}
return true;
}