forked from mirrors/qmk_userspace
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
|
@ -25,10 +25,6 @@
|
|||
#define TOUCH_RESOLUTION 25 // sensitivity of swipes, lower=faster
|
||||
#define TOUCH_SEGMENTS 3
|
||||
|
||||
/* Encoder Configuration */
|
||||
#define ENCODERS_PAD_A { B8, B9 }
|
||||
#define ENCODERS_PAD_B { A14, A15 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
|
|
|
@ -8,6 +8,12 @@
|
|||
"pid": "0x3505",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B8", "pin_b": "A14"},
|
||||
{"pin_a": "B9", "pin_b": "A15"}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "A9"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue