Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -157,15 +157,4 @@
|
||||
# define MIDI_INITIAL_VELOCITY 117
|
||||
#endif // MIDI_ENABLE
|
||||
|
||||
/*
|
||||
* Encoder options
|
||||
*/
|
||||
#ifdef ENCODER_ENABLE
|
||||
# define ENCODERS_PAD_A { }
|
||||
# define ENCODERS_PAD_B { }
|
||||
# define ENCODER_RESOLUTIONS { }
|
||||
# define ENCODERS_PAD_A_RIGHT { F5 }
|
||||
# define ENCODERS_PAD_B_RIGHT { F4 }
|
||||
# define ENCODER_RESOLUTIONS_RIGHT { 4 }
|
||||
# define TAP_CODE_DELAY 10
|
||||
#endif // ENCODER_ENABLE
|
||||
#define TAP_CODE_DELAY 10
|
||||
|
@@ -9,7 +9,14 @@
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
"soft_serial_pin": "D2",
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "F5", "pin_b": "F4"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
Reference in New Issue
Block a user