aboutsummaryrefslogtreecommitdiff
path: root/keyboards/work_louder/loop
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/loop
parentb47f3b185348560c1832105098ad943b078799b7 (diff)
parent10e896630ce9283b42b8cdbf44ccb81538dc9851 (diff)
downloadqmk_firmware-121a2e0f07307fc1238d5a05dd9a706c258ccfbf.tar.gz
qmk_firmware-121a2e0f07307fc1238d5a05dd9a706c258ccfbf.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/work_louder/loop')
-rw-r--r--keyboards/work_louder/loop/keymaps/via/keymap.c8
-rw-r--r--keyboards/work_louder/loop/keymaps/via/rules.mk2
-rw-r--r--keyboards/work_louder/loop/loop.h8
-rw-r--r--keyboards/work_louder/loop/rules.mk4
4 files changed, 13 insertions, 9 deletions
diff --git a/keyboards/work_louder/loop/keymaps/via/keymap.c b/keyboards/work_louder/loop/keymaps/via/keymap.c
index c5769b991..22113e836 100644
--- a/keyboards/work_louder/loop/keymaps/via/keymap.c
+++ b/keyboards/work_louder/loop/keymaps/via/keymap.c
@@ -15,6 +15,14 @@
15 */ 15 */
16#include QMK_KEYBOARD_H 16#include QMK_KEYBOARD_H
17 17
18#define LAYOUT_via( \
19 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
20 k00_a, k00_b, k01_a, k01_b, k02_a, k02_b \
21) { \
22 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
23 { k00_a, k00_b, k01_a, k01_b, k02_a, k02_b } \
24}
25
18// clang-format off 26// clang-format off
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 27const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT_via( 28 [0] = LAYOUT_via(
diff --git a/keyboards/work_louder/loop/keymaps/via/rules.mk b/keyboards/work_louder/loop/keymaps/via/rules.mk
index 36b7ba9cb..6098ef3ad 100644
--- a/keyboards/work_louder/loop/keymaps/via/rules.mk
+++ b/keyboards/work_louder/loop/keymaps/via/rules.mk
@@ -1,2 +1,4 @@
1VIA_ENABLE = yes 1VIA_ENABLE = yes
2LTO_ENABLE = yes 2LTO_ENABLE = yes
3
4SRC += encoder_actions.c
diff --git a/keyboards/work_louder/loop/loop.h b/keyboards/work_louder/loop/loop.h
index acad9d7b3..cfc58146d 100644
--- a/keyboards/work_louder/loop/loop.h
+++ b/keyboards/work_louder/loop/loop.h
@@ -33,11 +33,3 @@
33) { \ 33) { \
34 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b } \ 34 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b } \
35} 35}
36
37#define LAYOUT_via( \
38 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
39 k00_a, k00_b, k01_a, k01_b, k02_a, k02_b \
40) { \
41 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
42 { k00_a, k00_b, k01_a, k01_b, k02_a, k02_b } \
43}
diff --git a/keyboards/work_louder/loop/rules.mk b/keyboards/work_louder/loop/rules.mk
index c0151377e..0069fba60 100644
--- a/keyboards/work_louder/loop/rules.mk
+++ b/keyboards/work_louder/loop/rules.mk
@@ -20,8 +20,10 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow 20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21AUDIO_ENABLE = no # Audio output 21AUDIO_ENABLE = no # Audio output
22ENCODER_ENABLE = yes 22ENCODER_ENABLE = yes
23LTO_ENABLE = yes
24
23RGB_MATRIX_ENABLE = yes 25RGB_MATRIX_ENABLE = yes
24RGB_MATRIX_DRIVER = WS2812 26RGB_MATRIX_DRIVER = WS2812
25LTO_ENABLE = yes 27LTO_ENABLE = yes
26 28
27SRC += encoder_actions.c rgb_functions.c 29SRC += rgb_functions.c