Move layouts for direct_pins boards to data driven (#19872)

This commit is contained in:
Ryan
2023-02-19 18:55:12 +11:00
committed by GitHub
parent 2222836f09
commit e837a32b2b
231 changed files with 965 additions and 3523 deletions

View File

@@ -21,18 +21,18 @@
"layouts": {
"LAYOUT_ortho_4x3": {
"layout": [
{"label":"K00 (B0,B4)", "x":0, "y":1},
{"label":"K01 (B0,B5)", "x":1, "y":1},
{"label":"K02 (B0,B6)", "x":2, "y":1},
{"label":"K10 (B1,B4)", "x":0, "y":2},
{"label":"K11 (B1,B5)", "x":1, "y":2},
{"label":"K12 (B1,B6)", "x":2, "y":2},
{"label":"K20 (B2,B4)", "x":0, "y":3},
{"label":"K21 (B2,B5)", "x":1, "y":3},
{"label":"K22 (B2,B6)", "x":2, "y":3},
{"label":"K30 (B3,B4)", "x":0, "y":4},
{"label":"K31 (B3,B5)", "x":1, "y":4},
{"label":"K32 (B3,B6)", "x":2, "y":4}
{"x":0, "y":1, "matrix": [0, 0]},
{"x":1, "y":1, "matrix": [0, 1]},
{"x":2, "y":1, "matrix": [0, 2]},
{"x":0, "y":2, "matrix": [1, 0]},
{"x":1, "y":2, "matrix": [1, 1]},
{"x":2, "y":2, "matrix": [1, 2]},
{"x":0, "y":3, "matrix": [2, 0]},
{"x":1, "y":3, "matrix": [2, 1]},
{"x":2, "y":3, "matrix": [2, 2]},
{"x":0, "y":4, "matrix": [3, 0]},
{"x":1, "y":4, "matrix": [3, 1]},
{"x":2, "y":4, "matrix": [3, 2]}
]
}
}