summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dactyl_manuform/4x5/dactyl_manuform.c
diff options
context:
space:
mode:
authorzwnk <david@impstyle.com>2018-08-14 00:23:11 -0300
committerDrashna Jaelre <drashna@live.com>2018-08-13 20:23:11 -0700
commit61b61161478ebe1a65fc4b9a9efc0f887a342767 (patch)
treed1237aa86ac269e76de2becac3776f9093c81ef3 /keyboards/handwired/dactyl_manuform/4x5/dactyl_manuform.c
parente12151f15e49191b48d88eb428e010dc020fbc14 (diff)
Keyboard: Dactyl manuform 5x6 added and working (#3627)
* mouse layer keys shifted * mouse layer keys shifted * manuform 5x6 added * mouse layer keys shifted * manuform 5x6 added * dactyl_manuform 5x6 keymap added * reorg. dactyl manuform folder * removed LAYOUTS = ortho_4x12 for 4x5 * Rows and Cols in config.h fixed * MASTER_LEFT * 5x6 matrix fixed * keymap updated * removed the i2c, serial, split_util and matrix files and inserted SPLIT_KEYBOARD
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/4x5/dactyl_manuform.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/dactyl_manuform.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/4x5/dactyl_manuform.c b/keyboards/handwired/dactyl_manuform/4x5/dactyl_manuform.c
new file mode 100644
index 0000000000..17caecb4fd
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x5/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();
+};
+