Rename encoder pins defines (#24003)
This commit is contained in:
parent
8471dcc563
commit
bc0c69570b
25 changed files with 100 additions and 91 deletions
|
@ -38,5 +38,5 @@
|
|||
/* Custom encoder needs to specify just how many encoders we have */
|
||||
#define NUM_ENCODERS 1
|
||||
|
||||
#define ENCODERS_PAD_A { F0 }
|
||||
#define ENCODERS_PAD_B { F4 }
|
||||
#define ENCODER_A_PINS { F0 }
|
||||
#define ENCODER_B_PINS { F4 }
|
||||
|
|
|
@ -71,8 +71,8 @@ float scroll_accumulated_v = 0;
|
|||
#ifdef ENCODER_ENABLE
|
||||
uint16_t lastScroll = 0; // Previous confirmed wheel event
|
||||
uint16_t lastMidClick = 0; // Stops scrollwheel from being read if it was pressed
|
||||
pin_t encoder_pins_a[1] = ENCODERS_PAD_A;
|
||||
pin_t encoder_pins_b[1] = ENCODERS_PAD_B;
|
||||
pin_t encoder_pins_a[1] = ENCODER_A_PINS;
|
||||
pin_t encoder_pins_b[1] = ENCODER_B_PINS;
|
||||
bool debug_encoder = false;
|
||||
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
|
|
|
@ -38,5 +38,5 @@
|
|||
/* Custom encoder needs to specify just how many encoders we have */
|
||||
#define NUM_ENCODERS 1
|
||||
|
||||
#define ENCODERS_PAD_A { F0 }
|
||||
#define ENCODERS_PAD_B { F4 }
|
||||
#define ENCODER_A_PINS { F0 }
|
||||
#define ENCODER_B_PINS { F4 }
|
||||
|
|
|
@ -38,5 +38,5 @@
|
|||
/* Custom encoder needs to specify just how many encoders we have */
|
||||
#define NUM_ENCODERS 1
|
||||
|
||||
#define ENCODERS_PAD_A { F0 }
|
||||
#define ENCODERS_PAD_B { F4 }
|
||||
#define ENCODER_A_PINS { F0 }
|
||||
#define ENCODER_B_PINS { F4 }
|
||||
|
|
|
@ -42,5 +42,5 @@
|
|||
/* Custom encoder needs to specify just how many encoders we have */
|
||||
#define NUM_ENCODERS 1
|
||||
|
||||
#define ENCODERS_PAD_A { F4 }
|
||||
#define ENCODERS_PAD_B { F0 }
|
||||
#define ENCODER_A_PINS { F4 }
|
||||
#define ENCODER_B_PINS { F0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue