Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
76cc7fe109
commit
ace372d90d
623 changed files with 1593 additions and 4581 deletions
|
@ -15,16 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
|
||||
// SWAP FOR PRO MICRO
|
||||
// #define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3 }
|
||||
#define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3, F0 }
|
||||
#define MATRIX_COL_PINS { D3, F4, F5, F6, F7, B1 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef LED_MATRIX_ENABLE
|
||||
|
||||
#define LED_DRIVER_ADDR_1 0x74
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x545A",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D3", "F4", "F5", "F6", "F7", "B1"],
|
||||
"rows": ["D2", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "F0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C6", "pin_b": "D4", "resolution": 2},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue