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

@@ -15,13 +15,5 @@
*/
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { A2, A1, B8, B7, C15 }
#define MATRIX_COL_PINS { B9, B6, B5, B4, B3, B1, B0, A7, A6, A5, A4, A3, A8, B15, B14 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
/* enable the nkro when using the VIA. */
#define FORCE_NKRO

View File

@@ -4,6 +4,11 @@
"pid": "0xAAAD",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["B9", "B6", "B5", "B4", "B3", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A8", "B15", "B14"],
"rows": ["A2", "A1", "B8", "B7", "C15"]
},
"diode_direction": "ROW2COL",
"indicators": {
"caps_lock": "A15",
"on_state": 0