summaryrefslogtreecommitdiffstats
path: root/keyboards/oddball/info.json
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-12 13:42:51 +1000
committerGitHub <noreply@github.com>2023-04-12 13:42:51 +1000
commit5bd68e3695a82ff504c358c33445b4530c2a327f (patch)
tree10b245757dcb4f2c3c07796671ed8d284e5f5d6f /keyboards/oddball/info.json
parent941e159a28f1bdbdd913654c4f9a14291f8d5299 (diff)
Move single `LAYOUT`s to data driven (#20365)
Diffstat (limited to 'keyboards/oddball/info.json')
-rw-r--r--keyboards/oddball/info.json55
1 files changed, 47 insertions, 8 deletions
diff --git a/keyboards/oddball/info.json b/keyboards/oddball/info.json
index 2eaca18e65..8e21be5d69 100644
--- a/keyboards/oddball/info.json
+++ b/keyboards/oddball/info.json
@@ -12,14 +12,53 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"sw1", "x":0, "y":0.37}, {"label":"sw2", "x":1, "y":0.37}, {"label":"sw3", "x":2, "y":0.12}, {"label":"sw4", "x":3, "y":0}, {"label":"sw5", "x":4, "y":0.12}, {"label":"sw6", "x":5, "y":0.25},
- {"label":"sw6", "x":8 , "y":0.25}, {"label":"sw5", "x":9 , "y":0.12}, {"label":"sw4", "x":10, "y":0}, {"label":"sw3", "x":11, "y":0.12}, {"label":"sw2", "x":12, "y":0.37}, {"label":"sw1", "x":13, "y":0.37},
- {"label":"sw7", "x":0, "y":1.37}, {"label":"sw8", "x":1, "y":1.37}, {"label":"sw9", "x":2, "y":1.12}, {"label":"sw10", "x":3, "y":1}, {"label":"sw11", "x":4, "y":1.12}, {"label":"sw12", "x":5, "y":1.25},
- {"label":"sw12", "x":8, "y":1.25}, {"label":"sw11", "x":9, "y":1.12}, {"label":"sw10", "x":10, "y":1}, {"label":"sw9", "x":11, "y":1.12}, {"label":"sw8", "x":12, "y":1.37}, {"label":"sw7", "x":13, "y":1.37},
- {"label":"sw13", "x":0, "y":2.37}, {"label":"sw14", "x":1, "y":2.37}, {"label":"sw15", "x":2, "y":2.12}, {"label":"sw16", "x":3, "y":2}, {"label":"sw17", "x":4, "y":2.12}, {"label":"sw18", "x":5, "y":2.25},
- {"label":"sw18", "x":8, "y":2.25}, {"label":"sw17", "x":9, "y":2.12}, {"label":"sw16", "x":10, "y":2}, {"label":"sw15", "x":11, "y":2.12}, {"label":"sw14", "x":12, "y":2.37}, {"label":"sw13", "x":13, "y":2.37},
- {"label":"sw19", "x":4.5, "y":3.5, "h":1.25}, {"label":"sw20", "x":5.5, "y":3.5, "h":1.25},
- {"label":"sw20", "x":7.5, "y":3.5, "h":1.25}, {"label":"sw19", "x":8.5, "y":3.5, "h":1.25}
+ {"matrix": [0, 0], "x": 0, "y": 0.37},
+ {"matrix": [0, 1], "x": 1, "y": 0.37},
+ {"matrix": [0, 2], "x": 2, "y": 0.12},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0.12},
+ {"matrix": [0, 5], "x": 5, "y": 0.25},
+
+ {"matrix": [4, 5], "x": 8, "y": 0.25},
+ {"matrix": [4, 4], "x": 9, "y": 0.12},
+ {"matrix": [4, 3], "x": 10, "y": 0},
+ {"matrix": [4, 2], "x": 11, "y": 0.12},
+ {"matrix": [4, 1], "x": 12, "y": 0.37},
+ {"matrix": [4, 0], "x": 13, "y": 0.37},
+
+ {"matrix": [1, 0], "x": 0, "y": 1.37},
+ {"matrix": [1, 1], "x": 1, "y": 1.37},
+ {"matrix": [1, 2], "x": 2, "y": 1.12},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1.12},
+ {"matrix": [1, 5], "x": 5, "y": 1.25},
+
+ {"matrix": [5, 5], "x": 8, "y": 1.25},
+ {"matrix": [5, 4], "x": 9, "y": 1.12},
+ {"matrix": [5, 3], "x": 10, "y": 1},
+ {"matrix": [5, 2], "x": 11, "y": 1.12},
+ {"matrix": [5, 1], "x": 12, "y": 1.37},
+ {"matrix": [5, 0], "x": 13, "y": 1.37},
+
+ {"matrix": [2, 0], "x": 0, "y": 2.37},
+ {"matrix": [2, 1], "x": 1, "y": 2.37},
+ {"matrix": [2, 2], "x": 2, "y": 2.12},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2.12},
+ {"matrix": [2, 5], "x": 5, "y": 2.25},
+
+ {"matrix": [6, 5], "x": 8, "y": 2.25},
+ {"matrix": [6, 4], "x": 9, "y": 2.12},
+ {"matrix": [6, 3], "x": 10, "y": 2},
+ {"matrix": [6, 2], "x": 11, "y": 2.12},
+ {"matrix": [6, 1], "x": 12, "y": 2.37},
+ {"matrix": [6, 0], "x": 13, "y": 2.37},
+
+ {"matrix": [3, 4], "x": 4.5, "y": 3.5, "h": 1.25},
+ {"matrix": [3, 5], "x": 5.5, "y": 3.5, "h": 1.25},
+
+ {"matrix": [7, 5], "x": 7.5, "y": 3.5, "h": 1.25},
+ {"matrix": [7, 4], "x": 8.5, "y": 3.5, "h": 1.25}
]
}
}