mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-08 06:45:41 +00:00
Update keyboards/skyloong/gk75/q2/ansi/keymaps/default/keymap.c
OK, I see . Thank you for your advice. Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
d1e9160e84
commit
dc0e71ca99
@ -31,16 +31,3 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(RGB_MATRIX_ENABLE) /*&& defined(CAPS_LOCK_INDEX)*/
|
||||
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
||||
|
||||
if (host_keyboard_led_state().caps_lock) {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_INDEX, 255, 255, 255);
|
||||
} else {
|
||||
if (!rgb_matrix_get_flags()) {
|
||||
RGB_MATRIX_INDICATOR_SET_COLOR(CAPS_LOCK_INDEX, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user