summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_manuform/dactyl_manuform.c
diff options
context:
space:
mode:
authorTwentylives <lior@dotcore.co.il>2018-03-16 21:32:18 +0100
committerJack Humbert <jack.humb@gmail.com>2018-03-16 21:32:18 +0100
commit598ab478be6f52382aeeb9df78c377cdcf963068 (patch)
treedd3c531c5ac4ad02940c1a967da4e056aadc805b /keyboards/handwired/dactyl_manuform/dactyl_manuform.c
parent241421efd44b7d85870df6eef72fd68fcfaa8e59 (diff)
downloadqmk_firmware-598ab478be6f52382aeeb9df78c377cdcf963068.tar.gz
qmk_firmware-598ab478be6f52382aeeb9df78c377cdcf963068.tar.xz
new handwired keyboard - Dactyl Manuform (#2516)
* adding new handwired keyboard: dactyl-manuform * adding qwerty layout * updating readme file.
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/dactyl_manuform.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/dactyl_manuform.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/dactyl_manuform.c b/keyboards/handwired/dactyl_manuform/dactyl_manuform.c
new file mode 100644
index 000000000..17caecb4f
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/dactyl_manuform.c
@@ -0,0 +1,23 @@
+#include "dactyl_manuform.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) {
+
+ // // green led on
+ // DDRD |= (1<<5);
+ // PORTD &= ~(1<<5);
+
+ // // orange led on
+ // DDRB |= (1<<0);
+ // PORTB &= ~(1<<0);
+
+ matrix_init_user();
+};
+