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

@@ -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

View File

@@ -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"