summaryrefslogtreecommitdiff
path: root/keyboards/adafruit/macropad/info.json
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/adafruit/macropad/info.json')
-rw-r--r--keyboards/adafruit/macropad/info.json45
1 files changed, 32 insertions, 13 deletions
diff --git a/keyboards/adafruit/macropad/info.json b/keyboards/adafruit/macropad/info.json
index e9bd7d85b1..75c859adb1 100644
--- a/keyboards/adafruit/macropad/info.json
+++ b/keyboards/adafruit/macropad/info.json
@@ -8,22 +8,41 @@
"pid": "0x0108",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "GP18", "pin_b": "GP17"}
+ ]
+ },
+ "bootmagic": {
+ "matrix": [1, 2]
+ },
+ "processor": "RP2040",
+ "bootloader": "rp2040",
+ "matrix_pins": {
+ "direct": [
+ [null, null, "GP0"],
+ ["GP1", "GP2", "GP3"],
+ ["GP4", "GP5", "GP6"],
+ ["GP7", "GP8", "GP9"],
+ ["GP10", "GP11", "GP12"]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"Mute", "x":2, "y":0},
- {"label":"Enter", "x":0, "y":1},
- {"label":"KC_0", "x":1, "y":1},
- {"label":"BackSpace", "x":2, "y":1},
- {"label":"KC_7", "x":0, "y":2},
- {"label":"KC_8", "x":1, "y":2},
- {"label":"KC_9", "x":2, "y":2},
- {"label":"KC_4", "x":0, "y":3},
- {"label":"KC_5", "x":1, "y":3},
- {"label":"KC_6", "x":2, "y":3},
- {"label":"KC_1", "x":0, "y":4},
- {"label":"KC_2", "x":1, "y":4},
- {"label":"KC_3", "x":2, "y":4}
+ {"x":2, "y":0, "matrix": [0, 2]},
+ {"x":0, "y":1, "matrix": [1, 0]},
+ {"x":1, "y":1, "matrix": [1, 1]},
+ {"x":2, "y":1, "matrix": [1, 2]},
+ {"x":0, "y":2, "matrix": [2, 0]},
+ {"x":1, "y":2, "matrix": [2, 1]},
+ {"x":2, "y":2, "matrix": [2, 2]},
+ {"x":0, "y":3, "matrix": [3, 0]},
+ {"x":1, "y":3, "matrix": [3, 1]},
+ {"x":2, "y":3, "matrix": [3, 2]},
+ {"x":0, "y":4, "matrix": [4, 0]},
+ {"x":1, "y":4, "matrix": [4, 1]},
+ {"x":2, "y":4, "matrix": [4, 2]}
]
}
}