Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -18,6 +18,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define MATRIX_ROW_PINS { A15, B10, A14, A13, A7 }
|
||||
#define MATRIX_COL_PINS { A8, A6, B0, B1, B2, B4, B5, A1, A2, B3, B9, A10, A9 }
|
||||
#define ENCODERS_PAD_A { B14, B11 }
|
||||
#define ENCODERS_PAD_B { B15, B12 }
|
||||
|
||||
#define RGB_DI_PIN A3
|
||||
|
@@ -1,5 +1,11 @@
|
||||
{
|
||||
"processor": "STM32F303",
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "QMK_PROTON_C"
|
||||
"board": "QMK_PROTON_C",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B14", "pin_b": "B15"},
|
||||
{"pin_a": "B11", "pin_b": "B12"}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user