~ruther/qmk_firmware

ref: 4f4602abd532ede6dca9a99dd9c96a52076916d2 qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 166 bytes
4f4602ab — josh-l-wang [Keyboard] Vault35 WKL universal (#23519) 1 year, 7 months 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);
    }
}