logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

kc60.c (180B)


  1. #include "quantum.h"
  2. void led_update_ports(led_t led_state) {
  3. if (led_state.caps_lock) {
  4. gpio_set_pin_output(B2);
  5. } else {
  6. gpio_set_pin_input(B2);
  7. }
  8. }