forked from mirrors/qmk_userspace
Move small macropad-ish layouts to data driven (#20341)
This commit is contained in:
parent
06c5c02804
commit
364c06d939
421 changed files with 2788 additions and 7128 deletions
|
@ -17,7 +17,21 @@
|
|||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"0,3", "x":0, "y":1}, {"label":"0,4", "x":1, "y":1}, {"label":"0,5", "x":2, "y":1}, {"label":"0,6", "x":0, "y":2}, {"label":"0,7", "x":1, "y":2}, {"label":"0,8", "x":2, "y":2}, {"label":"0,9", "x":1, "y":3, "w":2}]
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
|
||||
{"matrix": [0, 3], "x": 0, "y": 1},
|
||||
{"matrix": [0, 4], "x": 1, "y": 1},
|
||||
{"matrix": [0, 5], "x": 2, "y": 1},
|
||||
|
||||
{"matrix": [0, 6], "x": 0, "y": 2},
|
||||
{"matrix": [0, 7], "x": 1, "y": 2},
|
||||
{"matrix": [0, 8], "x": 2, "y": 2},
|
||||
|
||||
{"matrix": [0, 9], "x": 1, "y": 3, "w": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,18 +18,3 @@
|
|||
#include "quantum.h"
|
||||
#include "keyboards/wilba_tech/wt_rgb_backlight_keycodes.h"
|
||||
#include "via.h"
|
||||
|
||||
|
||||
/* 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, K04, K05, K06, K07, K08, K09 \
|
||||
) { \
|
||||
{K00, K01, K02, K03, K04, K05, K06, K07, K08, K09}, \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue