2018-03-11 07:44:30 +00:00
|
|
|
#include "ca66.h"
|
2018-05-12 15:53:12 +00:00
|
|
|
|
2019-09-07 08:04:48 +00:00
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
|
|
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
|
|
|
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
|
|
|
writePinHigh(D1);
|
|
|
|
} else {
|
|
|
|
writePinLow(D1);
|
|
|
|
}
|
2018-05-12 15:53:12 +00:00
|
|
|
|
2019-09-07 08:04:48 +00:00
|
|
|
led_set_user(usb_led);
|
2018-05-12 15:53:12 +00:00
|
|
|
}
|