Move matrix config to info.json, part 4 (#20001)
This commit is contained in:
@@ -17,14 +17,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { B3, B4, B9, B8 }
|
||||
#define MATRIX_COL_PINS { B14, B13, B12, B0, A7 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Forcing to use NKRO instead 6KRO */
|
||||
#define FORCE_NKRO
|
||||
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x1601",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B14", "B13", "B12", "B0", "A7"],
|
||||
"rows": ["B3", "B4", "B9", "B8"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B5", "pin_b": "B6"},
|
||||
|
Reference in New Issue
Block a user