Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -25,14 +25,6 @@
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ A4, A3, A2, A1, A0 }
|
||||
|
||||
|
||||
// Encoder config
|
||||
#define ENCODERS_PAD_A \
|
||||
{ C15 }
|
||||
#define ENCODERS_PAD_B \
|
||||
{ C14 }
|
||||
#define ENCODER_RESOLUTION 2
|
||||
|
||||
// OLED config
|
||||
#define OLED_DISPLAY_128X64
|
||||
#define OLED_DISPLAY_WIDTH 128
|
||||
|
@@ -3,6 +3,11 @@
|
||||
"usb": {
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C15", "pin_b": "C14", "resolution": 2}
|
||||
]
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "BLACKPILL_STM32_F401"
|
||||
|
Reference in New Issue
Block a user