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

@@ -5,29 +5,6 @@
#include "quantum.h"
#define ___ KC_NO
/* This is a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT( \
k00, k01, k02, k03, k05,\
k10, k15,\
k20, k25,\
k30, k35,\
k31, k32, k33, k34 \
) { \
{ k00, k01, k05, k31 }, \
{ k10, k02, k15, k32 }, \
{ k20, k03, k25, k33 }, \
{ k30, ___, k35, k34 } \
}
typedef union {
uint32_t raw;
struct {