summaryrefslogtreecommitdiff
path: root/keyboards/tr60w/tr60w.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tr60w/tr60w.c')
-rw-r--r--keyboards/tr60w/tr60w.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/tr60w/tr60w.c b/keyboards/tr60w/tr60w.c
new file mode 100644
index 0000000000..83547a8862
--- /dev/null
+++ b/keyboards/tr60w/tr60w.c
@@ -0,0 +1,11 @@
+#include "tr60w.h"
+
+bool led_update_kb(led_t led_state) {
+ bool runDefault = led_update_user(led_state);
+ if (runDefault) {
+ writePin(B1, !led_state.num_lock);
+ writePin(B2, !led_state.caps_lock);
+ writePin(B3, !led_state.scroll_lock);
+ }
+ return runDefault;
+}