Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -23,12 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
# define ENCODERS_PAD_A { B0, C5 }
|
||||
# define ENCODERS_PAD_B { E3, C4 }
|
||||
# define ENCODER_RESOLUTIONS { 4, 4 }
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
# define OLED_DISPLAY_128X64
|
||||
# define OLED_TIMEOUT 450000
|
||||
|
@@ -8,6 +8,12 @@
|
||||
"pid": "0x0003",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B0", "pin_b": "E3"},
|
||||
{"pin_a": "C5", "pin_b": "C4"}
|
||||
]
|
||||
},
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "qmk-dfu",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user