Core: Update Mac Spacemouse calls

The old call was deprecated by 3DConnexion.
This commit is contained in:
Chris Hennes
2023-02-18 18:51:27 -06:00
committed by Chris Hennes
parent 1f92d0e644
commit c06ddbef1d

View File

@@ -148,13 +148,13 @@ void Gui::GuiNativeEvent::initSpaceball(QMainWindow *window)
Q_UNUSED(window)
OSStatus err;
/* make sure the framework is installed */
if (InstallConnexionHandlers == NULL)
if (SetConnexionHandlers == NULL)
{
Base::Console().Log("3Dconnexion framework not found!\n");
return;
}
/* install 3dx message handler in order to receive driver events */
err = InstallConnexionHandlers(tdx_drv_handler, 0L, 0L);
err = SetConnexionHandlers(tdx_drv_handler, 0L, 0L, false);
assert(err == 0);
if (err)
{