Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -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
|
||||
|
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user