From 76589a8a879218f7ed67ffbbcd8070086baa6fe8 Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Fri, 15 Jan 2021 16:50:38 -0800 Subject: [PATCH] Fix SpaceNavigator type 6DOF controllers on Windows. We were creating the event but never dispatching it. --- src/platform/guiwin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/platform/guiwin.cpp b/src/platform/guiwin.cpp index 745720a4..d8851958 100644 --- a/src/platform/guiwin.cpp +++ b/src/platform/guiwin.cpp @@ -734,6 +734,11 @@ public: event.type = SixDofEvent::Type::RELEASE; event.button = SixDofEvent::Button::FIT; } + } else { + return 0; + } + if(window->onSixDofEvent) { + window->onSixDofEvent(event); } return 0; }