Move matrix config to info.json, part 1 (#19985)

This commit is contained in:
Ryan
2023-03-06 09:53:52 +11:00
committed by GitHub
parent b34d51d08d
commit 23c365b023
502 changed files with 1299 additions and 3461 deletions

View File

@@ -16,14 +16,6 @@
#pragma once
/* key matrix pins */
#define MATRIX_COL_PINS { B9, A3, A4, A5, A6, A7, B0, B2, B10, B11, B12, B13, B14, B15, A8 }
#define MATRIX_ROW_PINS { B3, B4, B6, B7, B8 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define TAP_CODE_DELAY 15
/* RGB Matrix */

View File

@@ -6,6 +6,11 @@
"pid": "0xAA83",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["B9", "A3", "A4", "A5", "A6", "A7", "B0", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8"],
"rows": ["B3", "B4", "B6", "B7", "B8"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "A9", "pin_b": "A10"}