1
0
Fork 0

Move matrix config to info.json, part 3 (#19991)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-11 00:34:34 +11:00 committed by GitHub
parent 76cc7fe109
commit ace372d90d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
623 changed files with 1593 additions and 4581 deletions

View file

@ -17,18 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// ROWS: Top to bottom, COLS: Left to right
/* Row pin configuration
*/
#define MATRIX_ROW_PINS { F4, F3, F2, F1, F0, E1, E0 }
/* Column pin configuration
*/
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, C1, C0, F5, F6, F7 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Underlight configuration
*/
#define RGB_DI_PIN D7

View file

@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.3"
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "C1", "C0", "F5", "F6", "F7"],
"rows": ["F4", "F3", "F2", "F1", "F0", "E1", "E0"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"breathing": true