aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzvecr <z.zvecr@gmail.com>2018-11-26 22:58:22 +0000
committerDrashna Jaelre <drashna@live.com>2018-11-26 14:58:22 -0800
commitedb6c98fd23ab102069037f3dbfbd46c6067e86a (patch)
tree4e1662cba84770f878f2b0b34faed79577c715bc
parentb7b20cd9dfc8928b3c31560a410c75e9a9ec232a (diff)
downloadqmk_firmware-edb6c98fd23ab102069037f3dbfbd46c6067e86a.tar.gz
qmk_firmware-edb6c98fd23ab102069037f3dbfbd46c6067e86a.zip
Keyboard: Enable community ortho 4x12 layouts for lets split eh (#4487)
* Enable ortho_4x12 community layouts for lets_split_eh * Keymap build fixes now that ortho_4x12 is enabled * Keymap build fixes now that ortho_4x12 is enabled
-rw-r--r--keyboards/lets_split_eh/keymaps/doxish_dvorak/keymap.c4
-rw-r--r--keyboards/lets_split_eh/lets_split_eh.c15
-rw-r--r--keyboards/lets_split_eh/rules.mk2
3 files changed, 18 insertions, 3 deletions
diff --git a/keyboards/lets_split_eh/keymaps/doxish_dvorak/keymap.c b/keyboards/lets_split_eh/keymaps/doxish_dvorak/keymap.c
index 897608154..721312623 100644
--- a/keyboards/lets_split_eh/keymaps/doxish_dvorak/keymap.c
+++ b/keyboards/lets_split_eh/keymaps/doxish_dvorak/keymap.c
@@ -1,6 +1,4 @@
1#include "eeconfig.h" 1#include QMK_KEYBOARD_H
2
3extern keymap_config_t keymap_config;
4 2
5// Each layer gets a name for readability, which is then used in the keymap matrix below. 3// Each layer gets a name for readability, which is then used in the keymap matrix below.
6// The underscores don't mean anything - you can have a layer called STUFF or any other name. 4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
diff --git a/keyboards/lets_split_eh/lets_split_eh.c b/keyboards/lets_split_eh/lets_split_eh.c
index d5a312085..7249f54cf 100644
--- a/keyboards/lets_split_eh/lets_split_eh.c
+++ b/keyboards/lets_split_eh/lets_split_eh.c
@@ -1 +1,16 @@
1#include "lets_split_eh.h" 1#include "lets_split_eh.h"
2
3#ifdef SWAP_HANDS_ENABLE
4__attribute__ ((weak))
5const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
6
7 {{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}},
8 {{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}},
9 {{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}},
10 {{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}},
11 {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}},
12 {{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}},
13 {{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}},
14 {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}},
15};
16#endif
diff --git a/keyboards/lets_split_eh/rules.mk b/keyboards/lets_split_eh/rules.mk
index dffeb9fa3..99b1ba234 100644
--- a/keyboards/lets_split_eh/rules.mk
+++ b/keyboards/lets_split_eh/rules.mk
@@ -67,4 +67,6 @@ SPLIT_KEYBOARD = yes
67# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 67# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
68SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 68SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
69 69
70LAYOUTS = ortho_4x12
71
70DEFAULT_FOLDER = lets_split_eh/eh 72DEFAULT_FOLDER = lets_split_eh/eh