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
|
@ -1,10 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k05, k00, k01, \
|
||||
k04, k03, k02 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05 } \
|
||||
}
|
|
@ -18,13 +18,13 @@
|
|||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0.5},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0.5},
|
||||
{"matrix": [0, 5], "x": 0, "y": 0.5},
|
||||
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||
{"matrix": [0, 1], "x": 2, "y": 0.5},
|
||||
|
||||
{"x":0, "y":1.5},
|
||||
{"x":1, "y":2},
|
||||
{"x":2, "y":1.5}
|
||||
{"matrix": [0, 4], "x": 0, "y": 1.5},
|
||||
{"matrix": [0, 3], "x": 1, "y": 2},
|
||||
{"matrix": [0, 2], "x": 2, "y": 1.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k10, k20, k30, k40, k50 \
|
||||
) { \
|
||||
{ k00 }, \
|
||||
{ k10 }, \
|
||||
{ k20 }, \
|
||||
{ k30 }, \
|
||||
{ k40 }, \
|
||||
{ k50 } \
|
||||
}
|
|
@ -19,7 +19,16 @@
|
|||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"x":1, "y":0}, {"x":0.5, "y":1}, {"x":1.5, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}]
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0.5, "y": 1},
|
||||
{"matrix": [2, 0], "x": 1.5, "y": 1},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"matrix": [4, 0], "x": 1, "y": 2},
|
||||
{"matrix": [5, 0], "x": 2, "y": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"matrix": [2, 2], "x": 2, "y": 0}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, \
|
||||
K01, \
|
||||
K02 \
|
||||
) \
|
||||
{ \
|
||||
{ K00, KC_NO, KC_NO }, \
|
||||
{ KC_NO, K01, KC_NO }, \
|
||||
{ KC_NO, KC_NO, K02 }, \
|
||||
}
|
|
@ -18,17 +18,17 @@
|
|||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
|
||||
{"x":0, "y":2},
|
||||
{"x":1, "y":2},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
|
||||
{"x":0, "y":3},
|
||||
{"x":1, "y":3}
|
||||
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, \
|
||||
k10, k11, \
|
||||
k20, k21, \
|
||||
k30, k31 \
|
||||
) { \
|
||||
{ k00, k01 }, \
|
||||
{ k10, k11 }, \
|
||||
{ k20, k21 }, \
|
||||
{ k30, k31 } \
|
||||
}
|
|
@ -17,7 +17,14 @@
|
|||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0, "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": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0, "w": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05 ) { \
|
||||
{ K00, K01, K02, K03, K04, K05 } \
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue