1
0
Fork 0

Move matrix config to info.json, part 1 (#19985)

This commit is contained in:
Ryan 2023-03-06 09:53:52 +11:00 committed by GitHub
parent b34d51d08d
commit 23c365b023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
502 changed files with 1299 additions and 3461 deletions

View file

@ -15,14 +15,6 @@
*/
#pragma once
/* key matrix pins */
#define MATRIX_COL_PINS { B5, B6, B7, B8, B9, C13, C14, B0, B1, B2, B10, B11, B12, A15, B3 }
#define MATRIX_ROW_PINS { A3, A4, A5, A7, C15 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#ifdef RGBLIGHT_ENABLE
# define RGB_DI_PIN B4

View file

@ -6,6 +6,11 @@
"pid": "0xAA88",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["B5", "B6", "B7", "B8", "B9", "C13", "C14", "B0", "B1", "B2", "B10", "B11", "B12", "A15", "B3"],
"rows": ["A3", "A4", "A5", "A7", "C15"]
},
"diode_direction": "COL2ROW",
"layouts": {
"LAYOUT": {
"layout": [