From c06ddbef1d2e2eccbe60344a4c352c2ff3b1acbb Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sat, 18 Feb 2023 18:51:27 -0600 Subject: [PATCH] Core: Update Mac Spacemouse calls The old call was deprecated by 3DConnexion. --- src/Gui/3Dconnexion/GuiNativeEventMac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/3Dconnexion/GuiNativeEventMac.cpp b/src/Gui/3Dconnexion/GuiNativeEventMac.cpp index cbdb49751d..a99e5a0529 100644 --- a/src/Gui/3Dconnexion/GuiNativeEventMac.cpp +++ b/src/Gui/3Dconnexion/GuiNativeEventMac.cpp @@ -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) {