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

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

No files matched your search

+12 -12
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]}
]
}
}