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
|
|
@ -40,7 +40,7 @@
|
|||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [{ "pin_a": "GP7", "pin_b": "GP7" }]
|
||||
"rotary": [{ "pin_a": "GP7", "pin_b": "GP7", "resolution": 4 }]
|
||||
},
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,4 @@
|
|||
# ifndef ENCODER_MAP_KEY_DELAY
|
||||
# define ENCODER_MAP_KEY_DELAY 2
|
||||
# endif
|
||||
# ifndef ENCODER_RESOLUTION
|
||||
# define ENCODER_RESOLUTION 4
|
||||
# endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue