Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// 0 , 1 , 2 , 3 , 4 , 5
|
||||
#define MATRIX_ROW_PINS { B4, E6, D7, B5, C6, F6}
|
||||
#define MATRIX_COL_PINS { F7, B1, B3, B2, B6}
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN D4
|
||||
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0002",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F7", "B1", "B3", "B2", "B6"],
|
||||
"rows": ["B4", "E6", "D7", "B5", "C6", "F6"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F4", "pin_b": "F5"}
|
||||
|
Reference in New Issue
Block a user