diff options
Diffstat (limited to 'FaceTrackNoIR/FTIRServer.cpp')
-rw-r--r-- | FaceTrackNoIR/FTIRServer.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FTIRServer.cpp b/FaceTrackNoIR/FTIRServer.cpp index 1de4ee87..5c4369b3 100644 --- a/FaceTrackNoIR/FTIRServer.cpp +++ b/FaceTrackNoIR/FTIRServer.cpp @@ -64,6 +64,13 @@ FTIRServer::~FTIRServer() { FTIRClientLib.unload();
FTIRViewsLib.unload();
+ //
+ // Kill the dummy TrackIR process.
+ //
+ if (dummyTrackIR) {
+ dummyTrackIR->kill();
+ }
+
//terminates the QThread and waits for finishing the QThread
terminate();
wait();
@@ -274,6 +281,15 @@ bool FTIRServer::FTIRCheckClientDLL() FTIRViewsLib.load();
}
+ //
+ // Start TrackIR.exe, also to support some older games and EZCA
+ // Some TrackIR clients check if a process called TrackIR.exe is running.
+ // This should do the trick
+ //
+ QString program = "TrackIR.exe";
+ dummyTrackIR = new QProcess(this);
+ dummyTrackIR->start(program);
+
} catch(...) {
settings.~QSettings();
}
|