[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 254e26554b
commit 10e896630c
12 changed files with 41 additions and 44 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