Move matrix config to info.json, part 5 (#20003)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-03-11 05:41:58 +11:00
committed by GitHub
parent 1022afa6c2
commit e933e0411f
683 changed files with 1764 additions and 4315 deletions

View File

@@ -16,15 +16,10 @@
#pragma once
#define MATRIX_COL_PINS { GP24, GP23, GP21, GP20, GP19, GP6, GP5, GP4, GP3, GP2, GP1 }
#define MATRIX_ROW_PINS { GP25, GP18, GP17 }
// #define DEBUG_MATRIX_SCAN_RATE
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
//#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define FORCE_NKRO

View File

@@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.4"
},
"matrix_pins": {
"cols": ["GP24", "GP23", "GP21", "GP20", "GP19", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1"],
"rows": ["GP25", "GP18", "GP17"]
},
"diode_direction": "COL2ROW",
"processor": "RP2040",
"bootloader": "rp2040"
}