~ruther/qmk_firmware

ref: d09ea04fa1b42b362a81218785ff41d3004df081 qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 166 bytes
d09ea04f — フィルターペーパー [Doc] Revise squeezing AVR (#23665) 1 year, 21 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