summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk/ymd40/v2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-29 15:54:34 +1100
committerGitHub <noreply@github.com>2023-03-29 15:54:34 +1100
commit4869b8061c187f6476f8f14b839dd2c2c9f74dd2 (patch)
tree085ba6c614b0cc649a664b6e9e8829ee6f1fe593 /keyboards/ymdk/ymd40/v2
parent06664e8a94116b5d40b2348ec89ba2fc6248ec16 (diff)
Move ortho & numpad layouts to data driven (#20183)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/ymdk/ymd40/v2')
-rw-r--r--keyboards/ymdk/ymd40/v2/info.json470
-rw-r--r--keyboards/ymdk/ymd40/v2/v2.h79
2 files changed, 235 insertions, 314 deletions
diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json
index 37c51da1a5..7d28fcacaf 100644
--- a/keyboards/ymdk/ymd40/v2/info.json
+++ b/keyboards/ymdk/ymd40/v2/info.json
@@ -23,272 +23,272 @@
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3},
- {"label":"K36 (B1,F6)", "x":6, "y":3},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_2x2u": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3, "w":2},
- {"label":"K37 (B1,F7)", "x":6, "y":3, "w":2},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
+ {"matrix": [3, 7], "x": 6, "y": 3, "w": 2},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uR": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3},
- {"label":"K37 (B1,F7)", "x":6, "y":3, "w":2},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3},
+ {"matrix": [3, 7], "x": 6, "y": 3, "w": 2},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uL": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3, "w":2},
- {"label":"K36 (B1,F6)", "x":6, "y":3},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
+ {"matrix": [3, 6], "x": 6, "y": 3},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
},
"LAYOUT_ortho_4x12_1x2uC": {
"layout": [
- {"label":"K00 (D0,F1)", "x":0, "y":0},
- {"label":"K01 (D0,F0)", "x":1, "y":0},
- {"label":"K02 (D0,B0)", "x":2, "y":0},
- {"label":"K03 (D0,C7)", "x":3, "y":0},
- {"label":"K04 (D0,F4)", "x":4, "y":0},
- {"label":"K05 (D0,F5)", "x":5, "y":0},
- {"label":"K06 (D0,F6)", "x":6, "y":0},
- {"label":"K07 (D0,F7)", "x":7, "y":0},
- {"label":"K08 (D0,D4)", "x":8, "y":0},
- {"label":"K09 (D0,D6)", "x":9, "y":0},
- {"label":"K0A (D0,B4)", "x":10, "y":0},
- {"label":"K0B (D0,D7)", "x":11, "y":0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0},
+ {"matrix": [0, 6], "x": 6, "y": 0},
+ {"matrix": [0, 7], "x": 7, "y": 0},
+ {"matrix": [0, 8], "x": 8, "y": 0},
+ {"matrix": [0, 9], "x": 9, "y": 0},
+ {"matrix": [0, 10], "x": 10, "y": 0},
+ {"matrix": [0, 11], "x": 11, "y": 0},
- {"label":"K10 (B3,F1)", "x":0, "y":1},
- {"label":"K11 (B3,F0)", "x":1, "y":1},
- {"label":"K12 (B3,B0)", "x":2, "y":1},
- {"label":"K13 (B3,C7)", "x":3, "y":1},
- {"label":"K14 (B3,F4)", "x":4, "y":1},
- {"label":"K15 (B3,F5)", "x":5, "y":1},
- {"label":"K16 (B3,F6)", "x":6, "y":1},
- {"label":"K17 (B3,F7)", "x":7, "y":1},
- {"label":"K18 (B3,D4)", "x":8, "y":1},
- {"label":"K19 (B3,D6)", "x":9, "y":1},
- {"label":"K1A (B3,B4)", "x":10, "y":1},
- {"label":"K1B (B3,D7)", "x":11, "y":1},
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1},
+ {"matrix": [1, 6], "x": 6, "y": 1},
+ {"matrix": [1, 7], "x": 7, "y": 1},
+ {"matrix": [1, 8], "x": 8, "y": 1},
+ {"matrix": [1, 9], "x": 9, "y": 1},
+ {"matrix": [1, 10], "x": 10, "y": 1},
+ {"matrix": [1, 11], "x": 11, "y": 1},
- {"label":"K20 (B2,F1)", "x":0, "y":2},
- {"label":"K21 (B2,F0)", "x":1, "y":2},
- {"label":"K22 (B2,B0)", "x":2, "y":2},
- {"label":"K23 (B2,C7)", "x":3, "y":2},
- {"label":"K24 (B2,F4)", "x":4, "y":2},
- {"label":"K25 (B2,F5)", "x":5, "y":2},
- {"label":"K26 (B2,F6)", "x":6, "y":2},
- {"label":"K27 (B2,F7)", "x":7, "y":2},
- {"label":"K28 (B2,D4)", "x":8, "y":2},
- {"label":"K29 (B2,D6)", "x":9, "y":2},
- {"label":"K2A (B2,B4)", "x":10, "y":2},
- {"label":"K2B (B2,D7)", "x":11, "y":2},
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2},
+ {"matrix": [2, 6], "x": 6, "y": 2},
+ {"matrix": [2, 7], "x": 7, "y": 2},
+ {"matrix": [2, 8], "x": 8, "y": 2},
+ {"matrix": [2, 9], "x": 9, "y": 2},
+ {"matrix": [2, 10], "x": 10, "y": 2},
+ {"matrix": [2, 11], "x": 11, "y": 2},
- {"label":"K30 (B1,F1)", "x":0, "y":3},
- {"label":"K31 (B1,F0)", "x":1, "y":3},
- {"label":"K32 (B1,B0)", "x":2, "y":3},
- {"label":"K33 (B1,C7)", "x":3, "y":3},
- {"label":"K34 (B1,F4)", "x":4, "y":3},
- {"label":"K35 (B1,F5)", "x":5, "y":3, "w":2},
- {"label":"K37 (B1,F7)", "x":7, "y":3},
- {"label":"K38 (B1,D4)", "x":8, "y":3},
- {"label":"K39 (B1,D6)", "x":9, "y":3},
- {"label":"K3A (B1,B4)", "x":10, "y":3},
- {"label":"K3B (B1,D7)", "x":11, "y":3}
+ {"matrix": [3, 0], "x": 0, "y": 3},
+ {"matrix": [3, 1], "x": 1, "y": 3},
+ {"matrix": [3, 2], "x": 2, "y": 3},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3, "w": 2},
+ {"matrix": [3, 7], "x": 7, "y": 3},
+ {"matrix": [3, 8], "x": 8, "y": 3},
+ {"matrix": [3, 9], "x": 9, "y": 3},
+ {"matrix": [3, 10], "x": 10, "y": 3},
+ {"matrix": [3, 11], "x": 11, "y": 3}
]
}
diff --git a/keyboards/ymdk/ymd40/v2/v2.h b/keyboards/ymdk/ymd40/v2/v2.h
deleted file mode 100644
index d28f6d591a..0000000000
--- a/keyboards/ymdk/ymd40/v2/v2.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* Copyright 2021 James Young (@noroadsleft)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT_ortho_4x12( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_2x2u( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uR( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, KC_NO, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uL( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K36, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, KC_NO, K36, K37, K38, K39, K3A, K3B }, \
-}
-
-#define LAYOUT_ortho_4x12_1x2uC( \
- K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
- K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
- K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
- K30, K31, K32, K33, K34, K35, K37, K38, K39, K3A, K3B \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
- { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
- { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
- { K30, K31, K32, K33, K34, K35, KC_NO, K37, K38, K39, K3A, K3B }, \
-}