summaryrefslogtreecommitdiff
path: root/keyboards/beekeeb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/beekeeb')
-rw-r--r--keyboards/beekeeb/piantor/config.h18
-rw-r--r--keyboards/beekeeb/piantor/info.json20
2 files changed, 19 insertions, 19 deletions
diff --git a/keyboards/beekeeb/piantor/config.h b/keyboards/beekeeb/piantor/config.h
index 8a3e5eb467..6a50429c20 100644
--- a/keyboards/beekeeb/piantor/config.h
+++ b/keyboards/beekeeb/piantor/config.h
@@ -11,23 +11,5 @@
#define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1
-/* key matrix size */
-#define MATRIX_ROWS 8
-#define MATRIX_COLS 6
-
-#define DIRECT_PINS { \
- { GP5, GP4, GP11, GP15, GP3, GP2}, \
- { GP22, GP20, GP10, GP14, GP9, GP8}, \
- { GP21, GP19, GP6, GP7, GP13, GP12}, \
- { GP17, GP18, GP16, NO_PIN, NO_PIN, NO_PIN} \
-}
-
-#define DIRECT_PINS_RIGHT { \
- { GP22, GP21, GP2, GP5, GP8, GP11}, \
- { GP20, GP19, GP3, GP6, GP9, GP12}, \
- { GP18, GP17, GP4, GP7, GP10, GP13}, \
- { GP15, GP14, GP16, NO_PIN, NO_PIN, NO_PIN} \
-}
-
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 5
diff --git a/keyboards/beekeeb/piantor/info.json b/keyboards/beekeeb/piantor/info.json
index 50f4feed66..a914b1882d 100644
--- a/keyboards/beekeeb/piantor/info.json
+++ b/keyboards/beekeeb/piantor/info.json
@@ -18,8 +18,26 @@
"pid": "0x0001",
"vid": "0xBEEB"
},
+ "matrix_pins": {
+ "direct": [
+ ["GP5", "GP4", "GP11", "GP15", "GP3", "GP2"],
+ ["GP22", "GP20", "GP10", "GP14", "GP9", "GP8"],
+ ["GP21", "GP19", "GP6", "GP7", "GP13", "GP12"],
+ ["GP17", "GP18", "GP16", null, null, null]
+ ]
+ },
"split": {
- "enabled": true
+ "enabled": true,
+ "matrix_pins": {
+ "right": {
+ "direct": [
+ ["GP22", "GP21", "GP2", "GP5", "GP8", "GP11"],
+ ["GP20", "GP19", "GP3", "GP6", "GP9", "GP12"],
+ ["GP18", "GP17", "GP4", "GP7", "GP10", "GP13"],
+ ["GP15", "GP14", "GP16", null, null, null]
+ ]
+ }
+ }
},
"community_layouts": ["split_3x6_3"],
"layouts": {