Move matrix config to info.json, part 4 (#20001)
This commit is contained in:
parent
dd086a51d8
commit
9e64300e67
584 changed files with 1484 additions and 3703 deletions
|
@ -16,12 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS \
|
||||
{ B10, B11, B12, B13, B14, B15, A8, A9, A10, A15, B3, B4, B7, B8, B9, C14, C15, F0, A3 }
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B5, B6, A7, B0, B1, B2, A4 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x4176",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B3", "B4", "B7", "B8", "B9", "C14", "C15", "F0", "A3"],
|
||||
"rows": ["B5", "B6", "A7", "B0", "B1", "B2", "A4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C13", "pin_b": "F1", "resolution": 2}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue