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

@@ -33,9 +33,5 @@
#define DRIVER_2_LED_TOTAL 24
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
/* Encoder Configuration */
#define ENCODERS_PAD_A { E6 }
#define ENCODERS_PAD_B { B7 }
/* Enable caps-lock LED */
#define CAPS_LOCK_LED_INDEX 44

View File

@@ -8,6 +8,11 @@
"pid": "0x0103",
"device_version": "1.0.2"
},
"encoder": {
"rotary": [
{"pin_a": "E6", "pin_b": "B7"}
]
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {