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
494 changed files with 1235 additions and 3287 deletions

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { A13, B14, A10, A0, A2, A1 }
#define MATRIX_COL_PINS { A6, A7, B7, B6 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN B15
#define RGBLED_NUM 27

View File

@@ -8,6 +8,11 @@
"pid": "0x4414",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A6", "A7", "B7", "B6"],
"rows": ["A13", "B14", "A10", "A0", "A2", "A1"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B12", "pin_b": "B13"},