Move matrix config to info.json, part 7 (#20020)
This commit is contained in:
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { D7, D6, B6, B1, C6, C7 }
|
||||
#define MATRIX_COL_PINS { B5, B4, B0, D5, D4, D1, D0, E6, F7, F6, F5, F4, F1, F0, B2, D3, D2}
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#define RGBLED_NUM 31
|
||||
#define RGBLIGHT_LIMIT_VAL 255
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x8801",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B4", "B0", "D5", "D4", "D1", "D0", "E6", "F7", "F6", "F5", "F4", "F1", "F0", "B2", "D3", "D2"],
|
||||
"rows": ["D7", "D6", "B6", "B1", "C6", "C7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"pin": "B7",
|
||||
"breathing": true
|
||||
|
Reference in New Issue
Block a user