diff options
| author | QMK Bot <hello@qmk.fm> | 2021-11-17 20:54:48 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-11-17 20:54:48 +0000 |
| commit | 121a2e0f07307fc1238d5a05dd9a706c258ccfbf (patch) | |
| tree | 0a52952d1767156d2f62b32a3038cdfc2386356f /keyboards/work_louder/loop | |
| parent | b47f3b185348560c1832105098ad943b078799b7 (diff) | |
| parent | 10e896630ce9283b42b8cdbf44ccb81538dc9851 (diff) | |
| download | qmk_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.c | 8 | ||||
| -rw-r--r-- | keyboards/work_louder/loop/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/work_louder/loop/loop.h | 8 | ||||
| -rw-r--r-- | keyboards/work_louder/loop/rules.mk | 4 |
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 |
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 27 | const 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 @@ | |||
| 1 | VIA_ENABLE = yes | 1 | VIA_ENABLE = yes |
| 2 | LTO_ENABLE = yes | 2 | LTO_ENABLE = yes |
| 3 | |||
| 4 | SRC += 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 | |||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 21 | AUDIO_ENABLE = no # Audio output | 21 | AUDIO_ENABLE = no # Audio output |
| 22 | ENCODER_ENABLE = yes | 22 | ENCODER_ENABLE = yes |
| 23 | LTO_ENABLE = yes | ||
| 24 | |||
| 23 | RGB_MATRIX_ENABLE = yes | 25 | RGB_MATRIX_ENABLE = yes |
| 24 | RGB_MATRIX_DRIVER = WS2812 | 26 | RGB_MATRIX_DRIVER = WS2812 |
| 25 | LTO_ENABLE = yes | 27 | LTO_ENABLE = yes |
| 26 | 28 | ||
| 27 | SRC += encoder_actions.c rgb_functions.c | 29 | SRC += rgb_functions.c |
