Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -16,11 +16,6 @@
|
||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
||||
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
|
||||
#define ENCODERS_PAD_A { C7, F7, D6 }
|
||||
#define ENCODERS_PAD_B { C6, E6, D7 }
|
||||
#define ENCODER_RESOLUTIONS { 4, 4, 2 }
|
||||
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
@@ -25,6 +25,13 @@
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C7", "pin_b": "C6"},
|
||||
{"pin_a": "F7", "pin_b": "E6"},
|
||||
{"pin_a": "D6", "pin_b": "D7", "resolution": 2}
|
||||
]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812",
|
||||
"layout": [
|
||||
|
Reference in New Issue
Block a user