Remove FLIP_HALF layouts and move to data driven (#20588)

This commit is contained in:
Ryan
2023-04-30 01:51:45 +10:00
committed by GitHub
parent 03328ea7a8
commit 998a4d744e
54 changed files with 1920 additions and 2564 deletions

View File

@@ -19,17 +19,37 @@
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_2x3", "ortho_2x6"],
"layout_aliases": {
"LAYOUT_macro": "LAYOUT_ortho_2x3",
"LAYOUT_split": "LAYOUT_ortho_2x6"
},
"layouts": {
"LAYOUT_ortho_2x3": {
"layout": [
{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0},
{"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1}
]
},
"LAYOUT_ortho_2x6": {
"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},
{"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [2, 2], "x": 3, "y": 0},
{"matrix": [2, 1], "x": 4, "y": 0},
{"matrix": [2, 0], "x": 5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [3, 2], "x": 3, "y": 1},
{"matrix": [3, 1], "x": 4, "y": 1},
{"matrix": [3, 0], "x": 5, "y": 1}
]
}
}