Move matrix config to info.json, part 4 (#20001)
This commit is contained in:
@@ -15,11 +15,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { F0, F1, F4 }
|
||||
#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_DI_PIN D5
|
||||
#define RGB_MATRIX_LED_COUNT 31
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x7325",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
|
||||
"rows": ["F0", "F1", "F4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"pin": "B7",
|
||||
"levels": 5
|
||||
|
@@ -15,12 +15,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Matrix */
|
||||
#define MATRIX_ROW_PINS { B15, A5, A3, A15, B7, B8 }
|
||||
#define MATRIX_COL_PINS { B13, B14, B3, A4, A6 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* RGB Matrix */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_DI_PIN B12
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x7342",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B13", "B14", "B3", "A4", "A6"],
|
||||
"rows": ["B15", "A5", "A3", "A15", "B7", "B8"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"driver": "software",
|
||||
"pin": "B11",
|
||||
|
Reference in New Issue
Block a user