Move small macropad-ish layouts to data driven (#20341)

This commit is contained in:
Ryan
2023-04-05 15:46:59 +10:00
committed by GitHub
parent 06c5c02804
commit 364c06d939
421 changed files with 2788 additions and 7128 deletions

View File

@@ -17,16 +17,3 @@
#define SET_LED_MAGENTA (RED_LED_ON(); GRN_LED_OFF(); BLU_LED_ON(); )
#define SET_LED_CYAN (RED_LED_OFF(); GRN_LED_ON(); BLU_LED_ON(); )
#define SET_LED_WHITE (RED_LED_ON(); GRN_LED_ON(); BLU_LED_ON(); )
// This a shortcut to help you visually see your layout.
// The first section contains all of the arguements
// The second converts the arguments into a two-dimensional array
#define LAYOUT( \
k13, k14, k15, k16, \
k09, k10, k11, k12, \
k05, k06, k07, k08, \
k01, k02, k03, k04 \
) \
{ \
{ k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16 } \
}