Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
parent
80661e5f19
commit
dd086a51d8
494 changed files with 1235 additions and 3287 deletions
|
@ -17,14 +17,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 }
|
||||
#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, E2 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x1226",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["E6", "B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "E2"],
|
||||
"rows": ["F7", "F6", "F5", "F4", "F1", "F0"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C6", "pin_b": "C7", "resolution": 2}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue