summaryrefslogtreecommitdiff
path: root/keyboards/dz60/dz60.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dz60/dz60.c')
-rw-r--r--keyboards/dz60/dz60.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/dz60/dz60.c b/keyboards/dz60/dz60.c
new file mode 100644
index 0000000000..fbe39248c7
--- /dev/null
+++ b/keyboards/dz60/dz60.c
@@ -0,0 +1,9 @@
+#include "dz60.h"
+
+void led_set_kb(uint8_t usb_led) {
+ if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
+ DDRB |= (1 << 2); PORTB &= ~(1 << 2);
+ } else {
+ DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
+ }
+} \ No newline at end of file