summaryrefslogtreecommitdiff
path: root/keyboards/treasure/type9s2/info.json
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/treasure/type9s2/info.json')
-rw-r--r--keyboards/treasure/type9s2/info.json25
1 files changed, 16 insertions, 9 deletions
diff --git a/keyboards/treasure/type9s2/info.json b/keyboards/treasure/type9s2/info.json
index bcb719c76f..71264940d0 100644
--- a/keyboards/treasure/type9s2/info.json
+++ b/keyboards/treasure/type9s2/info.json
@@ -8,6 +8,11 @@
"pid": "0x5492",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B2", "B3", "C5"],
+ "rows": ["B4", "B5", "D2"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B7"
},
@@ -16,15 +21,17 @@
"layouts": {
"LAYOUT_ortho_3x3": {
"layout": [
- {"label": "7", "x": 0, "y": 0},
- {"label": "8", "x": 1, "y": 0},
- {"label": "9", "x": 2, "y": 0},
- {"label": "4", "x": 0, "y": 1},
- {"label": "5", "x": 1, "y": 1},
- {"label": "6", "x": 2, "y": 1},
- {"label": "1", "x": 0, "y": 2},
- {"label": "2", "x": 1, "y": 2},
- {"label": "3", "x": 2, "y": 2}
+ {"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},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2}
]
}
}