mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-20 04:05:10 +00:00
17 lines
336 B
C
17 lines
336 B
C
#include "rev1.h"
|
|
|
|
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)) {
|
|
writePinLow(B2);
|
|
} else {
|
|
writePinHigh(B2);
|
|
}
|
|
|
|
led_set_user(usb_led);
|
|
}
|
|
|
|
void matrix_init_kb(void) {
|
|
setPinOutput(B2);
|
|
matrix_init_user();
|
|
}
|