1
0
Fork 0

Move matrix config to info.json, part 6 (#20019)

This commit is contained in:
Ryan 2023-03-11 00:32:05 +11:00 committed by GitHub
parent 9e64300e67
commit 76cc7fe109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
702 changed files with 1779 additions and 5015 deletions

View file

@ -17,14 +17,6 @@ Copyright 2021 Nathan Spears
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { F0, F1, E6, B7, C6 }
#define MATRIX_COL_PINS { F6, F5, F4, D0, D7, D3, D4, D5, D6, F7, C7, B4, B6, B5 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PWM_DRIVER PWMD3
// ws2812 options

View file

@ -8,6 +8,11 @@
"pid": "0x1416",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F6", "F5", "F4", "D0", "D7", "D3", "D4", "D5", "D6", "F7", "C7", "B4", "B6", "B5"],
"rows": ["F0", "F1", "E6", "B7", "C6"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "D1",
"levels": 6,