~ruther/qmk_firmware

ref: 6e7c1c90fd51e540b3cad03ba3325bcb925d0e2f qmk_firmware/keyboards/era/sirind/tomak/tomak.c -rw-r--r-- 427 bytes
6e7c1c90 — Rutherther fix: remap ROW3 in kyria because of broken pin by static electricity discharge 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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;
}
Do not follow this link