1
0
Fork 0

Move matrix config to info.json, part 4 (#20001)

This commit is contained in:
Ryan 2023-03-11 00:00:24 +11:00 committed by GitHub
parent dd086a51d8
commit 9e64300e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
584 changed files with 1484 additions and 3703 deletions

View file

@ -15,11 +15,6 @@
*/
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
#define MATRIX_COL_PINS { B1, F7, F6, F5, F4 }
#define DIODE_DIRECTION COL2ROW
#define EE_HANDS
// OLED driver

View file

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