Move matrix config to info.json, part 2 (#19987)

This commit is contained in:
Ryan 2023-03-10 22:16:56 +11:00 committed by GitHub
parent 80661e5f19
commit dd086a51d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
494 changed files with 1235 additions and 3287 deletions

View file

@ -17,12 +17,6 @@
#pragma once
#define MATRIX_ROW_PINS { D0, D1, B6, F5 }
#define MATRIX_COL_PINS { F4, F6, F7, B5, B4, D7, D6, D4, D5, D3, D2, B0 }
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN C7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8

View file

@ -8,6 +8,11 @@
"pid": "0x0042",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F4", "F6", "F7", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B0"],
"rows": ["D0", "D1", "B6", "F5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"breathing": true