Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -19,8 +19,4 @@
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
#define ENCODERS_PAD_A { D2 }
|
||||
#define ENCODERS_PAD_B { D3 }
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
||||
#define SOLENOID_PIN F4
|
||||
|
@@ -25,6 +25,11 @@
|
||||
"pid": "0x1711",
|
||||
"vid": "0x6D77"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D2", "pin_b": "D3"}
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
Reference in New Issue
Block a user