~ruther/qmk_firmware

ac25109312a49b6b50e54d61430c959652307810 — Drashna Jaelre 3 years ago 9391414
Always run pointing device init (#17936)

1 files changed, 6 insertions(+), 5 deletions(-)

M quantum/pointing_device/pointing_device.c
M quantum/pointing_device/pointing_device.c => quantum/pointing_device/pointing_device.c +6 -5
@@ 139,14 139,15 @@ __attribute__((weak)) uint8_t pointing_device_handle_buttons(uint8_t buttons, bo
 */
__attribute__((weak)) void pointing_device_init(void) {
#if defined(SPLIT_POINTING_ENABLE)
    if (!(POINTING_DEVICE_THIS_SIDE)) {
        return;
    }
    if ((POINTING_DEVICE_THIS_SIDE))
#endif
    pointing_device_driver.init();
    {
        pointing_device_driver.init();
#ifdef POINTING_DEVICE_MOTION_PIN
    setPinInputHigh(POINTING_DEVICE_MOTION_PIN);
        setPinInputHigh(POINTING_DEVICE_MOTION_PIN);
#endif
    }

    pointing_device_init_kb();
    pointing_device_init_user();
}