Move matrix config to info.json, part 6 (#20019)

This commit is contained in:
Ryan
2023-03-11 00:32:05 +11:00
committed by GitHub
parent 9e64300e67
commit 76cc7fe109
702 changed files with 1779 additions and 5015 deletions

View File

@@ -1,14 +1,5 @@
#pragma once
/* Key matrix pins */
#define MATRIX_ROW_PINS { B8, B9, B1, B2, B4 }
#define MATRIX_COL_PINS { A2, B0, A7, A8, A13, A14, B12, B11, B10, B15, B14, B13 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* RGB Underglow */
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN A15

View File

@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A2", "B0", "A7", "A8", "A13", "A14", "B12", "B11", "B10", "B15", "B14", "B13"],
"rows": ["B8", "B9", "B1", "B2", "B4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B3", "pin_b": "A6"},