qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit b910b1261d1adf6de2f2db99061c57ef218fc042
parent 5a4531427d75484792bf29091c19c9f1f0dad063
Author: Drashna Jaelre <drashna@live.com>
Date:   Tue, 30 Jan 2024 15:20:30 -0800

Init pins for Analog Joystick sensor (#22985)


Diffstat:
Mdrivers/sensors/analog_joystick.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/sensors/analog_joystick.c b/drivers/sensors/analog_joystick.c @@ -128,6 +128,9 @@ report_analog_joystick_t analog_joystick_read(void) { } void analog_joystick_init(void) { + setPinInputHigh(ANALOG_JOYSTICK_X_AXIS_PIN); + setPinInputHigh(ANALOG_JOYSTICK_Y_AXIS_PIN); + #ifdef ANALOG_JOYSTICK_CLICK_PIN setPinInputHigh(ANALOG_JOYSTICK_CLICK_PIN); #endif