Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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"},
|
||||
|
Reference in New Issue
Block a user