Remove FLIP_HALF layouts and move to data driven (#20588)
This commit is contained in:
@@ -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}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user