1
0

atreus: restore intended matrix implementations (#24082)

* `atreus`: restore intended matrix implementations

PR 24010 inadvertently changed the switch matrix for the
`atreus/astar_mirrored` keyboard in removing the `PCBDOWN` configuration
option, and also made PCB up and down implementations available for all
Atreus variants, which is not intended usage.

This commit restores the intended behaviour, and makes all the keymaps
which are currently present agnostic to hardware variant.
This commit is contained in:
James Young
2025-10-04 17:47:45 -07:00
committed by GitHub
parent 36fd2437b0
commit fecfc0f7da
9 changed files with 364 additions and 121 deletions

View File

@@ -14,5 +14,64 @@
},
"bluetooth": {
"driver": "bluefruit_le"
},
"layout_aliases": {
"LAYOUT_pcb_up": "LAYOUT",
"LAYOUT_pcb_down": "LAYOUT"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.6},
{"matrix": [0, 1], "x": 1, "y": 0.35},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0.35},
{"matrix": [0, 4], "x": 4, "y": 0.7},
{"matrix": [0, 6], "x": 8, "y": 0.7},
{"matrix": [0, 7], "x": 9, "y": 0.35},
{"matrix": [0, 8], "x": 10, "y": 0},
{"matrix": [0, 9], "x": 11, "y": 0.35},
{"matrix": [0, 10], "x": 12, "y": 0.6},
{"matrix": [1, 0], "x": 0, "y": 1.6},
{"matrix": [1, 1], "x": 1, "y": 1.35},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1.35},
{"matrix": [1, 4], "x": 4, "y": 1.7},
{"matrix": [1, 6], "x": 8, "y": 1.7},
{"matrix": [1, 7], "x": 9, "y": 1.35},
{"matrix": [1, 8], "x": 10, "y": 1},
{"matrix": [1, 9], "x": 11, "y": 1.35},
{"matrix": [1, 10], "x": 12, "y": 1.6},
{"matrix": [2, 0], "x": 0, "y": 2.6},
{"matrix": [2, 1], "x": 1, "y": 2.35},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2.35},
{"matrix": [2, 4], "x": 4, "y": 2.7},
{"matrix": [2, 6], "x": 8, "y": 2.7},
{"matrix": [2, 7], "x": 9, "y": 2.35},
{"matrix": [2, 8], "x": 10, "y": 2},
{"matrix": [2, 9], "x": 11, "y": 2.35},
{"matrix": [2, 10], "x": 12, "y": 2.6},
{"matrix": [3, 0], "x": 0, "y": 3.6},
{"matrix": [3, 1], "x": 1, "y": 3.35},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3.35},
{"matrix": [3, 4], "x": 4, "y": 3.7},
{"matrix": [2, 5], "x": 5, "y": 2.95, "h": 1.5},
{"matrix": [3, 5], "x": 7, "y": 2.95, "h": 1.5},
{"matrix": [3, 6], "x": 8, "y": 3.7},
{"matrix": [3, 7], "x": 9, "y": 3.35},
{"matrix": [3, 8], "x": 10, "y": 3},
{"matrix": [3, 9], "x": 11, "y": 3.35},
{"matrix": [3, 10], "x": 12, "y": 3.6}
]
}
}
}