~ruther/qmk_firmware

ref: 4e9967557ef9d68202f9e321a0798be2490b51a7 qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 166 bytes
4e996755 — Cipulot Add EC Type-B (#23170) 1 year, 4 days ago
                                                                                
1
2
3
4
5
6
7
8
9
#include "quantum.h"

void led_update_ports(led_t led_state) {
    if (led_state.caps_lock) {
        setPinOutput(B2);
    } else {
        setPinInput(B2);
    }
}
Do not follow this link