Move encoder config to data driven (#19923)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-02-26 09:45:12 +11:00
committed by GitHub
parent 314f6c1ddb
commit 7e0299117b
972 changed files with 2898 additions and 2569 deletions

View File

@@ -18,10 +18,6 @@
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
/* ENCODER */
#define ENCODERS_PAD_A { B2 }
#define ENCODERS_PAD_B { B3 }
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D1
#define RGBLED_NUM 1

View File

@@ -3,6 +3,11 @@
"usb": {
"device_version": "0.0.2"
},
"encoder": {
"rotary": [
{"pin_a": "B2", "pin_b": "B3"}
]
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {