1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/era/linx3/fave65s/fave65s.c
era efa5b30cfd
[Keyboard] Add Linx3 FAve65S (#24034)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2024-07-10 19:50:09 -07:00

17 lines
388 B
C

// Copyright 2024 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(0, 0, 128, 128);
} else {
rgb_matrix_set_color(0, 0, 0, 0);
}
return true;
}