Browse Source

Fixed syntax for Windows. Fertig!

3DMouse working on Windows and Ubuntu
QGC4.4
Matthias Krebs 13 years ago
parent
commit
b9864c1f2f
  1. 2
      src/input/Mouse6dofInput.cpp
  2. 2
      src/ui/MainWindow.h

2
src/input/Mouse6dofInput.cpp

@ -237,7 +237,7 @@ void Mouse6dofInput::button3DMouseDown(int button) @@ -237,7 +237,7 @@ void Mouse6dofInput::button3DMouseDown(int button)
case 2:
{
translationActive = !translationActive;
emit mouseTranslationEnabledChanged(translationActive);
emit mouseTranslationActiveChanged(translationActive);
qDebug() << "Changed 3DMouse Translation to" << (bool)translationActive;
break;
}

2
src/ui/MainWindow.h

@ -235,8 +235,10 @@ public slots: @@ -235,8 +235,10 @@ public slots:
signals:
void initStatusChanged(const QString& message);
#ifdef MOUSE_ENABLED_LINUX
/** @brief Forward X11Event to catch 3DMouse inputs */
void x11EventOccured(XEvent *event);
#endif //MOUSE_ENABLED_LINUX
public:
QGCMAVLinkLogPlayer* getLogPlayer()

Loading…
Cancel
Save