summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/SCServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR/SCServer.h')
-rw-r--r--FaceTrackNoIR/SCServer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/FaceTrackNoIR/SCServer.h b/FaceTrackNoIR/SCServer.h
index f107de55..eea55376 100644
--- a/FaceTrackNoIR/SCServer.h
+++ b/FaceTrackNoIR/SCServer.h
@@ -71,6 +71,14 @@ private:
QString ProgramName;
QLibrary SCClientLib;
+ bool blnSimConnectActive;
+ HANDLE hSimConnect; // Handle to SimConnect
+ importSimConnect_Open simconnect_open; // SimConnect function(s) in DLL
+ importSimConnect_Close simconnect_close;
+ importSimConnect_CameraSetRelative6DOF simconnect_set6DOF;
+
+float prevPosX, prevPosY, prevPosZ, prevRotX, prevRotY, prevRotZ;
+
public:
void setVirtRotX(float rot) { virtRotX = -1.0f * rot; } // degrees
void setVirtRotY(float rot) { virtRotY = -1.0f * rot; }