~ruther/qmk_firmware

ref: baa6000ed33f1f190f43bcd993f84f3b057e952d qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 166 bytes
baa6000e — James Young Data-Driven Keyboard Conversions: H, Part 3 (#23530) 1 year, 1 month 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