kc60.c 242 B

12345678910111213
  1. #include "kc60.h"
  2. bool led_update_kb(led_t led_state) {
  3. if (led_update_user(led_state)) {
  4. if (led_state.caps_lock) {
  5. setPinOutput(B2);
  6. } else {
  7. setPinInput(B2);
  8. }
  9. }
  10. return true;
  11. }