summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_manuform/5x6/5x6.c
diff options
context:
space:
mode:
authorzwnk <david@impstyle.com>2018-08-14 19:54:22 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-14 19:54:22 +0200
commitfeec8ad4694814ed8953c6f72798f51f39724af5 (patch)
tree8b8f3583e3259ab6de44b70e8c7bc4ddc0d8149b /keyboards/handwired/dactyl_manuform/5x6/5x6.c
parent61b61161478ebe1a65fc4b9a9efc0f887a342767 (diff)
downloadqmk_firmware-feec8ad4694814ed8953c6f72798f51f39724af5.tar.gz
qmk_firmware-feec8ad4694814ed8953c6f72798f51f39724af5.tar.xz
Keyboard: Add default keymap for dactyl_manuform 5x6 (#3649)
* 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 * default keymap for dactyl_manuform 5x6 * Fixes for Dactyl Manuform * Add/update default keymap
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/5x6/5x6.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/5x6/5x6.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/5x6/5x6.c b/keyboards/handwired/dactyl_manuform/5x6/5x6.c
new file mode 100644
index 000000000..68fceffd9
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/5x6/5x6.c
@@ -0,0 +1,23 @@
+#include "5x6.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();
+};
+