1 #include "retro_refit.h"
4 void matrix_init_kb(void) {
5 // put your keyboard start-up code here
6 // runs once when the firmware starts up
8 // Disable status LED on KB, enable status LED on Teensy (KB_STATUS = !TEENSY_STATUS)
15 void led_set_kb(uint8_t usb_led) {
16 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
18 if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
27 if (usb_led & (1<<USB_LED_NUM_LOCK)) {
36 if (usb_led & (1<<USB_LED_SCROLL_LOCK)) {
46 led_set_user(usb_led);