Move matrix config to info.json, part 2 (#19987)

This commit is contained in:
Ryan
2023-03-10 22:16:56 +11:00
committed by GitHub
parent 80661e5f19
commit dd086a51d8
494 changed files with 1235 additions and 3287 deletions

View File

@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { D1, D0, D3, B7, B6 }
#define MATRIX_COL_PINS { F7, F6, F5, B3, B2, B1 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
//#define EE_HANDS
#define SPLIT_USB_DETECT

View File

@@ -8,6 +8,11 @@
"pid": "0x1156",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["F7", "F6", "F5", "B3", "B2", "B1"],
"rows": ["D1", "D0", "D3", "B7", "B6"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B5",
"levels": 9