Move matrix config to info.json, part 7 (#20020)

This commit is contained in:
Ryan
2023-03-11 00:39:56 +11:00
committed by GitHub
parent ace372d90d
commit caa8c81086
421 changed files with 1081 additions and 3038 deletions

View File

@@ -16,12 +16,6 @@
#pragma once
#define MATRIX_ROW_PINS { F0, E6, D5, F1, F4 }
#define MATRIX_COL_PINS { C7, D3, D2, D1, D0, B7, B3, B2, C6, B6, B5, B4, D7, D6, D4 }
#define DIODE_DIRECTION COL2ROW
// Note: array is { col, row )
#define ENCODERS_CW_KEY { { 5, 4 } }
#define ENCODERS_CCW_KEY { { 3, 4 } }

View File

@@ -8,6 +8,11 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["F0", "E6", "D5", "F1", "F4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B1", "pin_b": "B0", "resolution": 2}