summaryrefslogtreecommitdiff
path: root/keyboards/work_louder/work_board/keymaps
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-11-17 20:54:48 +0000
committerQMK Bot <hello@qmk.fm>2021-11-17 20:54:48 +0000
commit121a2e0f07307fc1238d5a05dd9a706c258ccfbf (patch)
tree0a52952d1767156d2f62b32a3038cdfc2386356f /keyboards/work_louder/work_board/keymaps
parentb47f3b185348560c1832105098ad943b078799b7 (diff)
parent10e896630ce9283b42b8cdbf44ccb81538dc9851 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/work_louder/work_board/keymaps')
-rw-r--r--keyboards/work_louder/work_board/keymaps/via/keymap.c13
-rw-r--r--keyboards/work_louder/work_board/keymaps/via/rules.mk2
2 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/work_louder/work_board/keymaps/via/keymap.c b/keyboards/work_louder/work_board/keymaps/via/keymap.c
index 70027697b4..5675adf2ed 100644
--- a/keyboards/work_louder/work_board/keymaps/via/keymap.c
+++ b/keyboards/work_louder/work_board/keymaps/via/keymap.c
@@ -30,6 +30,19 @@ enum tap_dances {
#define LOWER FN_MO13
#define RAISE FN_MO23
+#define LAYOUT_via( \
+ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \
+ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k0c_a, \
+ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k0c_b, \
+ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b \
+) \
+{ \
+ { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c }, \
+ { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k0c_a }, \
+ { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k0c_b }, \
+ { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, ___ } \
+}
+
// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_via(
diff --git a/keyboards/work_louder/work_board/keymaps/via/rules.mk b/keyboards/work_louder/work_board/keymaps/via/rules.mk
index 791d5ab502..7964f4279c 100644
--- a/keyboards/work_louder/work_board/keymaps/via/rules.mk
+++ b/keyboards/work_louder/work_board/keymaps/via/rules.mk
@@ -1,2 +1,4 @@
VIA_ENABLE = yes
TAP_DANCE_ENABLE = yes
+
+SRC += encoder_actions.c