aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/hub16/info.json
diff options
context:
space:
mode:
authorRyan2023-04-05 07:46:59 +0200
committerGitHub2023-04-05 07:46:59 +0200
commit364c06d939134184838579d4e73880f8c2f83419 (patch)
treeb54be2d8a9a7ca5913774390bb0772e927d6523a /keyboards/hub16/info.json
parent06c5c028046adc0a5501f6ac51953640e2015020 (diff)
Move small macropad-ish layouts to data driven (#20341)
Diffstat (limited to 'keyboards/hub16/info.json')
-rw-r--r--keyboards/hub16/info.json40
1 files changed, 22 insertions, 18 deletions
diff --git a/keyboards/hub16/info.json b/keyboards/hub16/info.json
index 0da7c129eb..4003e6df5b 100644
--- a/keyboards/hub16/info.json
+++ b/keyboards/hub16/info.json
@@ -20,24 +20,28 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"Mute", "x":0.5, "y":0},
- {"label":"Play / Pause", "x":2.5, "y":0},
- {"label":"7", "x":0, "y":1},
- {"label":"8", "x":1, "y":1},
- {"label":"9", "x":2, "y":1},
- {"label":"*", "x":3, "y":1},
- {"label":"4", "x":0, "y":2},
- {"label":"5", "x":1, "y":2},
- {"label":"6", "x":2, "y":2},
- {"label":"-", "x":3, "y":2},
- {"label":"1", "x":0, "y":3},
- {"label":"2", "x":1, "y":3},
- {"label":"3", "x":2, "y":3},
- {"label":"+", "x":3, "y":3},
- {"label":"MO(1)", "x":0, "y":4},
- {"label":"0", "x":1, "y":4},
- {"label":".", "x":2, "y":4},
- {"label":"N.ENT", "x":3, "y":4}
+ {"matrix": [4, 0], "x": 0.5, "y": 0},
+ {"matrix": [4, 1], "x": 2.5, "y": 0},
+
+ {"matrix": [0, 0], "x": 0, "y": 1},
+ {"matrix": [0, 1], "x": 1, "y": 1},
+ {"matrix": [0, 2], "x": 2, "y": 1},
+ {"matrix": [0, 3], "x": 3, "y": 1},
+
+ {"matrix": [1, 0], "x": 0, "y": 2},
+ {"matrix": [1, 1], "x": 1, "y": 2},
+ {"matrix": [1, 2], "x": 2, "y": 2},
+ {"matrix": [1, 3], "x": 3, "y": 2},
+
+ {"matrix": [2, 0], "x": 0, "y": 3},
+ {"matrix": [2, 1], "x": 1, "y": 3},
+ {"matrix": [2, 2], "x": 2, "y": 3},
+ {"matrix": [2, 3], "x": 3, "y": 3},
+
+ {"matrix": [3, 0], "x": 0, "y": 4},
+ {"matrix": [3, 1], "x": 1, "y": 4},
+ {"matrix": [3, 2], "x": 2, "y": 4},
+ {"matrix": [3, 3], "x": 3, "y": 4}
]
}
}