Core: Update Mac Spacemouse calls
The old call was deprecated by 3DConnexion.
This commit is contained in:
committed by
Chris Hennes
parent
1f92d0e644
commit
c06ddbef1d
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user