1
0
Fork 0

Move matrix config to info.json, part 5 (#20003)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-11 05:41:58 +11:00 committed by GitHub
parent 1022afa6c2
commit e933e0411f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
683 changed files with 1764 additions and 4315 deletions

View file

@ -3,11 +3,6 @@
#pragma once
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN D3
#define RGBLED_NUM 12

View file

@ -8,6 +8,11 @@
"pid": "0x0002",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "F4", "resolution": 2}