From 16c527ee66123ed29ca2d6c0c6baae6e113eda40 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Fri, 1 Feb 2013 12:38:35 +0000 Subject: Updated to FreeTrack 2.0 git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@258 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FTNoIR_Protocol_FSUIPC/FTNoIR_Protocol_FSUIPC.h') 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 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(); }; -- cgit v1.2.3