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

@ -16,15 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// ROWS: Top to bottom, COLS: Left to right
#define MATRIX_ROW_PINS {B15,A9,B7,A1,A2}
#define MATRIX_COL_PINS {A3,A4,F1,F0,C15,C14,C13,B9,B8,B6,B5,B4,B3,A15}
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define RGBLED_NUM 12
#define WS2812_EXTERNAL_PULLUP
#define RGB_DI_PIN A8

View file

@ -8,6 +8,11 @@
"pid": "0x0011",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["A3", "A4", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B6", "B5", "B4", "B3", "A15"],
"rows": ["B15", "A9", "B7", "A1", "A2"]
},
"diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "A10"
},