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/nano | |
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/nano')
-rw-r--r-- | keyboards/work_louder/nano/keymaps/via/keymap.c | 7 | ||||
-rw-r--r-- | keyboards/work_louder/nano/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/work_louder/nano/nano.h | 7 | ||||
-rw-r--r-- | keyboards/work_louder/nano/rules.mk | 4 |
4 files changed, 12 insertions, 8 deletions
diff --git a/keyboards/work_louder/nano/keymaps/via/keymap.c b/keyboards/work_louder/nano/keymaps/via/keymap.c index 84a54a4aac..7461172e07 100644 --- a/keyboards/work_louder/nano/keymaps/via/keymap.c +++ b/keyboards/work_louder/nano/keymaps/via/keymap.c @@ -16,6 +16,13 @@ #include QMK_KEYBOARD_H +#define LAYOUT_via( \ + k00, k01, k02, \ + k00_a, k00_b \ +) { \ + { k00, k01, k02, k00_a, k00_b } \ +} + const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Base */ diff --git a/keyboards/work_louder/nano/keymaps/via/rules.mk b/keyboards/work_louder/nano/keymaps/via/rules.mk index 36b7ba9cbc..6098ef3ad8 100644 --- a/keyboards/work_louder/nano/keymaps/via/rules.mk +++ b/keyboards/work_louder/nano/keymaps/via/rules.mk @@ -1,2 +1,4 @@ VIA_ENABLE = yes LTO_ENABLE = yes + +SRC += encoder_actions.c diff --git a/keyboards/work_louder/nano/nano.h b/keyboards/work_louder/nano/nano.h index 6f7463e6a4..6230d75ab7 100644 --- a/keyboards/work_louder/nano/nano.h +++ b/keyboards/work_louder/nano/nano.h @@ -33,10 +33,3 @@ ) { \ { k00, k01, k02 } \ } - -#define LAYOUT_via( \ - k00, k01, k02, \ - k00_a, k00_b \ -) { \ - { k00, k01, k02, k00_a, k00_b } \ -} diff --git a/keyboards/work_louder/nano/rules.mk b/keyboards/work_louder/nano/rules.mk index 96b79f6288..a731c09dec 100644 --- a/keyboards/work_louder/nano/rules.mk +++ b/keyboards/work_louder/nano/rules.mk @@ -20,7 +20,9 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENABLE = yes +LTO_ENABLE = yes + RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = WS2812 -SRC += encoder_actions.c rgb_functions.c +SRC += rgb_functions.c |