mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
Always run pointing device init (#17936)
This commit is contained in:
parent
93914142a3
commit
ac25109312
@ -139,14 +139,15 @@ __attribute__((weak)) uint8_t pointing_device_handle_buttons(uint8_t buttons, bo
|
|||||||
*/
|
*/
|
||||||
__attribute__((weak)) void pointing_device_init(void) {
|
__attribute__((weak)) void pointing_device_init(void) {
|
||||||
#if defined(SPLIT_POINTING_ENABLE)
|
#if defined(SPLIT_POINTING_ENABLE)
|
||||||
if (!(POINTING_DEVICE_THIS_SIDE)) {
|
if ((POINTING_DEVICE_THIS_SIDE))
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
pointing_device_driver.init();
|
{
|
||||||
|
pointing_device_driver.init();
|
||||||
#ifdef POINTING_DEVICE_MOTION_PIN
|
#ifdef POINTING_DEVICE_MOTION_PIN
|
||||||
setPinInputHigh(POINTING_DEVICE_MOTION_PIN);
|
setPinInputHigh(POINTING_DEVICE_MOTION_PIN);
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
pointing_device_init_kb();
|
pointing_device_init_kb();
|
||||||
pointing_device_init_user();
|
pointing_device_init_user();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user