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

@@ -36,12 +36,6 @@
#define MATRIX_COL_PINS \
{ B11, B10, B2, B1, A7, B0 }
#define ENCODERS_PAD_A \
{ B12 }
#define ENCODERS_PAD_B \
{ B13 }
#define DIP_SWITCH_PINS \
{ B14, A15, A0, B9 }

View File

@@ -8,6 +8,11 @@
"pid": "0xA4F9",
"device_version": "0.0.6"
},
"encoder": {
"rotary": [
{"pin_a": "B12", "pin_b": "B13"}
]
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],