Move matrix config to info.json, part 7 (#20020)
This commit is contained in:
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_ROW_PINS { A4, A3, C13, A1, A2}
|
||||
#define MATRIX_COL_PINS { B10, B11, B2, B1, B0, A6, A5, A10, A9, A15, B3, B4, B5, B8, B9 }
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN A7
|
||||
#define WS2812_SPI SPID1 // default: SPID1
|
||||
|
@@ -3,6 +3,11 @@
|
||||
"usb": {
|
||||
"pid": "0xAEC3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B10", "B11", "B2", "B1", "B0", "A6", "A5", "A10", "A9", "A15", "B3", "B4", "B5", "B8", "B9"],
|
||||
"rows": ["A4", "A3", "C13", "A1", "A2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B12", "pin_b": "B13"}
|
||||
|
Reference in New Issue
Block a user