format json

This commit is contained in:
takashicompany 2024-11-19 18:00:05 +09:00
parent ca78bd7b9f
commit 5b9d208ee1

View File

@ -6,10 +6,7 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "GP14", "pin_b": "GP15"}
"pin_a": "GP14",
"pin_b": "GP15"
}
] ]
}, },
"features": { "features": {
@ -22,20 +19,8 @@
"nkro": true "nkro": true
}, },
"matrix_pins": { "matrix_pins": {
"cols": [ "cols": ["GP5", "GP6", "GP7"],
"GP5", "rows": ["GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP0"]
"GP6",
"GP7"
],
"rows": [
"GP8",
"GP9",
"GP10",
"GP11",
"GP12",
"GP13",
"GP0"
]
}, },
"processor": "RP2040", "processor": "RP2040",
"url": "", "url": "",
@ -47,174 +32,27 @@
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [
{ {"matrix": [0, 0], "x": 1, "y": 0},
"matrix": [ {"matrix": [0, 1], "x": 2, "y": 0},
0, {"matrix": [0, 2], "x": 3, "y": 0},
0 {"matrix": [1, 0], "x": 0, "y": 1},
], {"matrix": [1, 1], "x": 1, "y": 1},
"x": 1, {"matrix": [1, 2], "x": 2, "y": 1},
"y": 0 {"matrix": [2, 0], "x": 3, "y": 1},
}, {"matrix": [3, 0], "x": 0, "y": 2},
{ {"matrix": [3, 1], "x": 1, "y": 2},
"matrix": [ {"matrix": [3, 2], "x": 2, "y": 2},
0, {"matrix": [2, 1], "x": 3, "y": 2},
1 {"matrix": [2, 2], "x": 4.25, "y": 2},
], {"matrix": [4, 0], "x": 1, "y": 3.25},
"x": 2, {"matrix": [4, 1], "x": 2, "y": 3.25},
"y": 0 {"matrix": [4, 2], "x": 3, "y": 3.25},
}, {"matrix": [6, 0], "x": 4.25, "y": 3.25},
{ {"matrix": [6, 1], "x": 5.25, "y": 3.25},
"matrix": [ {"matrix": [5, 0], "x": 1, "y": 4.25},
0, {"matrix": [5, 1], "x": 2, "y": 4.25},
2 {"matrix": [5, 2], "x": 3, "y": 4.25},
], {"matrix": [6, 2], "x": 4.25, "y": 4.25}
"x": 3,
"y": 0
},
{
"matrix": [
1,
0
],
"x": 0,
"y": 1
},
{
"matrix": [
1,
1
],
"x": 1,
"y": 1
},
{
"matrix": [
1,
2
],
"x": 2,
"y": 1
},
{
"matrix": [
2,
0
],
"x": 3,
"y": 1
},
{
"matrix": [
3,
0
],
"x": 0,
"y": 2
},
{
"matrix": [
3,
1
],
"x": 1,
"y": 2
},
{
"matrix": [
3,
2
],
"x": 2,
"y": 2
},
{
"matrix": [
2,
1
],
"x": 3,
"y": 2
},
{
"matrix": [
2,
2
],
"x": 4.25,
"y": 2
},
{
"matrix": [
4,
0
],
"x": 1,
"y": 3.25
},
{
"matrix": [
4,
1
],
"x": 2,
"y": 3.25
},
{
"matrix": [
4,
2
],
"x": 3,
"y": 3.25
},
{
"matrix": [
6,
0
],
"x": 4.25,
"y": 3.25
},
{
"matrix": [
6,
1
],
"x": 5.25,
"y": 3.25
},
{
"matrix": [
5,
0
],
"x": 1,
"y": 4.25
},
{
"matrix": [
5,
1
],
"x": 2,
"y": 4.25
},
{
"matrix": [
5,
2
],
"x": 3,
"y": 4.25
},
{
"matrix": [
6,
2
],
"x": 4.25,
"y": 4.25
}
] ]
} }
} }