From 5c96ba1370a1681edfbf09ff115feb4ee9c61f3d Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Wed, 20 Jul 2022 22:59:53 -0700 Subject: [PATCH] Move pointing device init --- quantum/keyboard.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quantum/keyboard.c b/quantum/keyboard.c index 8273299a9ac0..2364e3167b16 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c @@ -384,9 +384,6 @@ void keyboard_init(void) { #ifdef STENO_ENABLE_ALL steno_init(); #endif -#ifdef POINTING_DEVICE_ENABLE - pointing_device_init(); -#endif #if defined(NKRO_ENABLE) && defined(FORCE_NKRO) keymap_config.nkro = 1; eeconfig_update_keymap(keymap_config.raw); @@ -403,6 +400,10 @@ void keyboard_init(void) { #ifdef SPLIT_KEYBOARD split_post_init(); #endif +#ifdef POINTING_DEVICE_ENABLE + // init after split init + pointing_device_init(); +#endif #if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE) debug_enable = true;