Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
314f6c1ddb
commit
7e0299117b
972 changed files with 2898 additions and 2569 deletions
|
@ -20,10 +20,6 @@
|
|||
#define MATRIX_ROW_PINS {F0, F1, F5, F4, C6, C7, B5, B6, D4, D2, D5, D3}
|
||||
#define MATRIX_COL_PINS {D7, B4, F7, F6, D1, B7, B3, B2}
|
||||
|
||||
/* Envoder */
|
||||
#define ENCODERS_PAD_A {B0}
|
||||
#define ENCODERS_PAD_B {B1}
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B0", "pin_b": "B1"}
|
||||
]
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D6"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue