summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_manuform/4x5/4x5.c
diff options
context:
space:
mode:
authorzwnk <david@impstyle.com>2018-08-14 14:54:22 -0300
committerDrashna Jaelre <drashna@live.com>2018-08-14 10:54:22 -0700
commitfeec8ad4694814ed8953c6f72798f51f39724af5 (patch)
tree8b8f3583e3259ab6de44b70e8c7bc4ddc0d8149b /keyboards/handwired/dactyl_manuform/4x5/4x5.c
parent61b61161478ebe1a65fc4b9a9efc0f887a342767 (diff)
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/4x5/4x5.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/4x5.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/4x5/4x5.c b/keyboards/handwired/dactyl_manuform/4x5/4x5.c
new file mode 100644
index 0000000000..78c0fee819
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x5/4x5.c
@@ -0,0 +1,23 @@
+#include "4x5.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();
+};
+