2018-03-11 08:44:30 +01:00
|
|
|
#include "ca66.h"
|
2018-05-12 17:53:12 +02:00
|
|
|
|
2019-09-07 10:04:48 +02: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 17:53:12 +02:00
|
|
|
|
2019-09-07 10:04:48 +02:00
|
|
|
led_set_user(usb_led);
|
2018-05-12 17:53:12 +02:00
|
|
|
}
|