Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -79,11 +79,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* QoL improvements */
|
||||
#define PERMISSIVE_HOLD
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
|
||||
/* Rotary encoder */
|
||||
#define ENCODERS_PAD_A { B6 }
|
||||
#define ENCODERS_PAD_B { B7 }
|
||||
|
||||
#define ENCODER_RESOLUTION 1
|
||||
|
||||
//#define ENCODER_DIRECTION_FLIP
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x00B1",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B6", "pin_b": "B7", "resolution": 1}
|
||||
]
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user