~ruther/qmk_firmware

b910b1261d1adf6de2f2db99061c57ef218fc042 — Drashna Jaelre 1 year, 4 months ago 5a45314
Init pins for Analog Joystick sensor (#22985)

1 files changed, 3 insertions(+), 0 deletions(-)

M drivers/sensors/analog_joystick.c
M drivers/sensors/analog_joystick.c => drivers/sensors/analog_joystick.c +3 -0
@@ 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

Do not follow this link