Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
@@ -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 */
|
||||
|
@@ -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"}
|
||||
|
Reference in New Issue
Block a user