aboutsummaryrefslogtreecommitdiff
path: root/keyboards/yd60mq/yd60mq.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yd60mq/yd60mq.c')
-rw-r--r--keyboards/yd60mq/yd60mq.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/yd60mq/yd60mq.c b/keyboards/yd60mq/yd60mq.c
new file mode 100644
index 000000000..96306d6a6
--- /dev/null
+++ b/keyboards/yd60mq/yd60mq.c
@@ -0,0 +1,13 @@
1#include "yd60mq.h"
2
3void led_set_kb(uint8_t usb_led) {
4 if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
5 setPinOutput(F4);
6 writePinLow(F4);
7 } else {
8 setPinInput(F4);
9 writePinLow(F4);
10 }
11
12 led_set_user(usb_led);
13}