Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -45,8 +45,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
|
||||
#define ENCODERS_PAD_A { D3, D5, C7 }
|
||||
#define ENCODERS_PAD_B { D2, B6, C6 }
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
||||
#define TAP_CODE_DELAY 10
|
||||
|
@@ -3,6 +3,13 @@
|
||||
"usb": {
|
||||
"pid": "0xAD04"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D3", "pin_b": "D2"},
|
||||
{"pin_a": "D5", "pin_b": "B6"},
|
||||
{"pin_a": "C7", "pin_b": "C6"}
|
||||
]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B5",
|
||||
"breathing": true
|
||||
|
Reference in New Issue
Block a user