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

@@ -15,10 +15,6 @@
*/
#pragma once
#define MATRIX_ROW_PINS { A2, A3, A4, A5, A6, A7 }
#define MATRIX_COL_PINS { B2, B1, B0, B10, B11, B13, B14, B15, A8, A9, A14, A15, B3, B4, B7 }
#define DIODE_DIRECTION COL2ROW
#define TAP_CODE_DELAY 10 // tap_code function delay for register and unregister
#define RGB_DI_PIN A10

View File

@@ -8,6 +8,11 @@
"pid": "0xEA75",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B2", "B1", "B0", "B10", "B11", "B13", "B14", "B15", "A8", "A9", "A14", "A15", "B3", "B4", "B7"],
"rows": ["A2", "A3", "A4", "A5", "A6", "A7"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B6", "pin_b": "B5"}