diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2013-02-01 12:38:35 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2013-02-01 12:38:35 +0000 |
commit | 16c527ee66123ed29ca2d6c0c6baae6e113eda40 (patch) | |
tree | e81fad86fac687cd1afdac8061aadf063532366b /FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h | |
parent | 1fc41fd775df78649ecd8e97b6722ed94c322d95 (diff) |
Updated to FreeTrack 2.0
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@258 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h')
-rw-r--r-- | FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h b/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h index ec99035b..8503f6e7 100644 --- a/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h +++ b/FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h @@ -43,6 +43,7 @@ #include <QFileDialog>
static const char* FSUIPC_FILENAME = "C:\\Program Files\\Microsoft Games\\Flight Simulator 9\\Modules\\FSUIPC.dll";
+static const char* FT_PROGRAMID = "FT_ProgramID"; // For message to FaceTrackNoIR main-window.
//
// Define the structures necessary for the FSUIPC_Write calls
@@ -75,6 +76,9 @@ private: QString LocationOfDLL;
float prevPosX, prevPosY, prevPosZ, prevRotX, prevRotY, prevRotZ;
+ bool blnConnectionActive;
+ HANDLE hMainWindow; // Save the handle to FaceTrackNoIR main-window
+
static int scale2AnalogLimits( float x, float min_x, float max_x );
void loadSettings();
};
|