You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
263 B

  1. #include "dk60.h"
  2. void led_set_kb(uint8_t usb_led) {
  3. // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
  4. if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
  5. dk60_caps_led_on();
  6. } else {
  7. dk60_caps_led_off();
  8. }
  9. led_set_user(usb_led);
  10. }