[Keyboard] Move encoder hacks into via keymaps for Work Louder boards (#15192)

This commit is contained in:
Drashna Jaelre 2021-11-17 12:54:12 -08:00 committed by GitHub
parent 1efe842e30
commit ba4f40db23
6 changed files with 34 additions and 0 deletions

View file

@ -15,6 +15,14 @@
*/
#include QMK_KEYBOARD_H
#define LAYOUT_via( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
k00_a, k00_b, k01_a, k01_b, k02_a, k02_b \
) { \
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
{ k00_a, k00_b, k01_a, k01_b, k02_a, k02_b } \
}
// clang-format off
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_via(

View file

@ -1,2 +1,4 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
SRC += encoder_actions.c