diff --git a/qmk_firmware/keyboards/keyball/lib/keyball/keyball.c b/qmk_firmware/keyboards/keyball/lib/keyball/keyball.c index 56ae28b82..8feb7987d 100644 --- a/qmk_firmware/keyboards/keyball/lib/keyball/keyball.c +++ b/qmk_firmware/keyboards/keyball/lib/keyball/keyball.c @@ -107,8 +107,17 @@ static void add_scroll_div(int8_t delta) { ////////////////////////////////////////////////////////////////////////////// // Pointing device driver +#if KEYBALL_MODEL == 46 +void keyboard_pre_init_kb(void) { + keyball.this_have_ball = pmw3360_init(); + keyboard_pre_init_user(); +} +#endif + void pointing_device_driver_init(void) { +#if KEYBALL_MODEL != 46 keyball.this_have_ball = pmw3360_init(); +#endif if (keyball.this_have_ball) { pmw3360_cpi_set(CPI_DEFAULT - 1); pmw3360_reg_write(pmw3360_Motion_Burst, 0);