summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dactyl_manuform/5x7/5x7.c
diff options
context:
space:
mode:
authorzwnk <david@impstyle.com>2018-08-23 15:48:30 -0300
committerDrashna Jaelre <drashna@live.com>2018-08-23 11:48:30 -0700
commitc6eccb39e0da150b7575b96d68366ba46f22306b (patch)
tree2b290949f62fedaf31914c62d503c355faabede2 /keyboards/handwired/dactyl_manuform/5x7/5x7.c
parent6d1536db1da117345156ed36255f10f235f0b915 (diff)
Keyboard: dactyl_manuform 5x7 aka Ergodox-ish added (#3691)
* dactyl_manuform 5x7 aka Ergodox added * LAYOUTS = ergodox removed * README updated * README updated again * zip file removed
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/5x7/5x7.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/5x7/5x7.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/5x7/5x7.c b/keyboards/handwired/dactyl_manuform/5x7/5x7.c
new file mode 100644
index 0000000000..135014d655
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/5x7/5x7.c
@@ -0,0 +1,23 @@
+#include "5x7.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();
+};
+