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.

26 lines
521 B

  1. #include "jd40.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. // gh60_caps_led_on();
  6. // } else {
  7. // gh60_caps_led_off();
  8. // }
  9. // if (usb_led & (1<<USB_LED_NUM_LOCK)) {
  10. // gh60_esc_led_on();
  11. // } else {
  12. // gh60_esc_led_off();
  13. // }
  14. // if (usb_led & (1<<USB_LED_SCROLL_LOCK)) {
  15. // gh60_fn_led_on();
  16. // } else {
  17. // gh60_fn_led_off();
  18. // }
  19. led_set_user(usb_led);
  20. }