Spacemice support refactored to use a common base class

This commit is contained in:
Torsten Sadowski
2018-11-20 22:28:50 +01:00
committed by wmayer
parent 5d7d278df2
commit 1914aec92f
11 changed files with 125 additions and 48 deletions

View File

@@ -31,12 +31,9 @@
#include <spnav.h>
std::vector<int> Gui::GuiNativeEvent::motionDataArray(6,0);
Gui::GuiNativeEvent::GuiNativeEvent(Gui::GUIApplicationNativeEventAware *app)
: QObject(app)
: GuiAbstractNativeEvent(app)
{
mainApp = app;
}
Gui::GuiNativeEvent::~GuiNativeEvent()