Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
parent
b34d51d08d
commit
23c365b023
502 changed files with 1299 additions and 3461 deletions
|
@ -15,14 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_COL_PINS { B5, B6, B7, B8, B9, C13, C14, B0, B1, B2, B10, B11, B12, A15, B3 }
|
||||
#define MATRIX_ROW_PINS { A3, A4, A5, A7, C15 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGB_DI_PIN B4
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAA88",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "B7", "B8", "B9", "C13", "C14", "B0", "B1", "B2", "B10", "B11", "B12", "A15", "B3"],
|
||||
"rows": ["A3", "A4", "A5", "A7", "C15"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue