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

@@ -29,10 +29,6 @@
#define MATRIX_ROW_PINS { B3, F6, F7, C7 }
#define MATRIX_COL_PINS { B2, F0, F1, F4, F5, B5, B4, D7, D6, D4 }
/* Define encoder pads */
#define ENCODERS_PAD_A { B6 }
#define ENCODERS_PAD_B { C6 }
/*
* WS2812 Underglow Matrix options
*/

View File

@@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.2"
},
"encoder": {
"rotary": [
{"pin_a": "B6", "pin_b": "C6"}
]
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}