summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FTIRServer.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-11-26 19:55:00 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-11-26 19:55:00 +0000
commit4c04337f46470180312812634beb0e39a04bcf9f (patch)
tree4cc03adabe80bf576f396659f2bef52046e30597 /FaceTrackNoIR/FTIRServer.h
parentab77b86507c65c56ec8aeda181bb43cc96cebc18 (diff)
Changed update-sequence for FSX and FS2004. No data is written, if the headpose-data has not changed. This way, it is possible to use the HAT-switch, if tracking is OFF.
The FTIRServer now also starts the dummy TrackIR.exe process, which is required by some clients, like EZCA. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@29 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FTIRServer.h')
-rw-r--r--FaceTrackNoIR/FTIRServer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/FaceTrackNoIR/FTIRServer.h b/FaceTrackNoIR/FTIRServer.h
index 8585b30f..2ffc1653 100644
--- a/FaceTrackNoIR/FTIRServer.h
+++ b/FaceTrackNoIR/FTIRServer.h
@@ -33,7 +33,7 @@
#include <QThread>
#include <QMutex>
#include <QLibrary>
-#include <QUdpSocket>
+#include <QProcess>
typedef void (WINAPI *importSetPosition)(float x, float y, float z, float xRot, float yRot, float zRot);
typedef void (WINAPI *importTIRViewsStart)(void);
@@ -74,6 +74,7 @@ private:
QLibrary FTIRClientLib;
QLibrary FTIRViewsLib;
bool useTIRViews;
+ QProcess *dummyTrackIR;
static float scale2AnalogLimits( float x, float min_x, float max_x );
void loadSettings();