summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd75/rev1/rev1.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbd75/rev1/rev1.c')
-rw-r--r--keyboards/kbdfans/kbd75/rev1/rev1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c
new file mode 100644
index 0000000000..9ed08602a4
--- /dev/null
+++ b/keyboards/kbdfans/kbd75/rev1/rev1.c
@@ -0,0 +1,12 @@
+#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)) {
+ writePinHigh(B2);
+ } else {
+ writePinLow(B2);
+ }
+
+ led_set_user(usb_led);
+}