summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_manuform/6x6/6x6.c
diff options
context:
space:
mode:
authorzwnk <david@impstyle.com>2018-08-15 19:31:59 -0300
committerDrashna Jaelre <drashna@live.com>2018-08-15 15:31:59 -0700
commit3549415116339a0af15d54437c07d188d6de6ad2 (patch)
tree3a2c0b482baa7b796b4aae30d923bce4d03ae23b /keyboards/handwired/dactyl_manuform/6x6/6x6.c
parent4cfdd2cff5e602c16f9e81cb25e9519e62782e52 (diff)
Keyboard: dactyl manuform 6x6 added (#3662)
* 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 * readme dactyl_manuform updated * links to keymaps added * dactyl_manuform 6x6 added. README updated * dactyl_manuform README updated * cleanup * more cleanup
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/6x6/6x6.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/6x6.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/6x6/6x6.c b/keyboards/handwired/dactyl_manuform/6x6/6x6.c
new file mode 100644
index 0000000000..9eb27531a8
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/6x6/6x6.c
@@ -0,0 +1,23 @@
+#include "6x6.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();
+};
+