Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*rotary encoder setting*/
|
||||
#define ENCODERS_PAD_A { D5, F1 }
|
||||
#define ENCODERS_PAD_B { B7, F0 }
|
||||
|
||||
#define RGB_DI_PIN C7
|
||||
#ifdef RGB_DI_PIN
|
||||
# define RGBLED_NUM 9
|
||||
|
@@ -8,6 +8,12 @@
|
||||
"pid": "0x0011",
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D5", "pin_b": "B7"},
|
||||
{"pin_a": "F1", "pin_b": "F0"}
|
||||
]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user