Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -47,6 +47,3 @@ Copyright 2022 Nathan Spears
|
||||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define ENCODERS_PAD_A {D2}
|
||||
#define ENCODERS_PAD_B {D3}
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x2416",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D2", "pin_b": "D3"}
|
||||
]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "D1",
|
||||
"levels": 6,
|
||||
|
Reference in New Issue
Block a user