Browse Source

Always run pointing device init (#17936)

pull/17685/merge
Drashna Jaelre 1 year ago
committed by GitHub
parent
commit
ac25109312
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      quantum/pointing_device/pointing_device.c

+ 6
- 5
quantum/pointing_device/pointing_device.c View File

@ -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();
}


Loading…
Cancel
Save