~ruther/qmk_firmware

ref: bc8ac8642242516e0fe61f1b97b75374c9150647 qmk_firmware/keyboards/kc60/kc60.c -rw-r--r-- 180 bytes
bc8ac864 — Nick Brassel Minimum python version listing. (#23989) 1 year, 3 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) {
        gpio_set_pin_output(B2);
    } else {
        gpio_set_pin_input(B2);
    }
}