summaryrefslogtreecommitdiff
path: root/keyboards/handwired/snatchpad/info.json
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/snatchpad/info.json')
-rw-r--r--keyboards/handwired/snatchpad/info.json21
1 files changed, 13 insertions, 8 deletions
diff --git a/keyboards/handwired/snatchpad/info.json b/keyboards/handwired/snatchpad/info.json
index a86091abfd..162f5601b5 100644
--- a/keyboards/handwired/snatchpad/info.json
+++ b/keyboards/handwired/snatchpad/info.json
@@ -8,6 +8,11 @@
"pid": "0x7370",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B1", "B3", "B2"],
+ "rows": ["F4", "F5", "F6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D3", "pin_b": "D2"},
@@ -19,16 +24,16 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 1, "y": 0},
- {"x": 2, "y": 0},
- {"x": 3, "y": 0},
+ {"matrix": [0, 0], "x": 1, "y": 0},
+ {"matrix": [0, 1], "x": 2, "y": 0},
+ {"matrix": [0, 2], "x": 3, "y": 0},
- {"x": 1, "y": 1},
- {"x": 2, "y": 1},
- {"x": 3, "y": 1},
+ {"matrix": [1, 0], "x": 1, "y": 1},
+ {"matrix": [1, 1], "x": 2, "y": 1},
+ {"matrix": [1, 2], "x": 3, "y": 1},
- {"x": 0, "y": 2},
- {"x": 4, "y": 2}
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 2], "x": 4, "y": 2}
]
}
}