Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
@@ -15,12 +15,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS { C13, C14, C15, A3, A4, A5, A6, B12, B13, B14, B15, A8, A9, A10, B8 }
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B10, B11, B9 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGB_DI_PIN A7
|
||||
|
@@ -6,6 +6,11 @@
|
||||
"pid": "0xAA87",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C13", "C14", "C15", "A3", "A4", "A5", "A6", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "B8"],
|
||||
"rows": ["B0", "B1", "B2", "B10", "B11", "B9"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
Reference in New Issue
Block a user