~ruther/qmk_firmware

ref: 38d6e9a75a4cff4ae5bd32209fc0cecb83c6f23b qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 166 bytes
38d6e9a7 — ploopyco Add Ploopy Madromys mouse (#21989) 1 year, 6 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);
    }
}
Do not follow this link