summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_promicro/dactyl_promicro.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/dactyl_promicro/dactyl_promicro.c')
-rw-r--r--keyboards/handwired/dactyl_promicro/dactyl_promicro.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_promicro/dactyl_promicro.c b/keyboards/handwired/dactyl_promicro/dactyl_promicro.c
new file mode 100644
index 000000000..5d708cf48
--- /dev/null
+++ b/keyboards/handwired/dactyl_promicro/dactyl_promicro.c
@@ -0,0 +1,12 @@
+#include "dactyl_promicro.h"
+
+#ifdef SSD1306OLED
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+ led_set_user(usb_led);
+}
+#endif
+
+void matrix_init_kb(void) {
+ matrix_init_user();
+}; \ No newline at end of file