summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--freetrackclient/freetrackclient.c3
-rw-r--r--ftnoir_protocol_ft/fttypes.h14
2 files changed, 9 insertions, 8 deletions
diff --git a/freetrackclient/freetrackclient.c b/freetrackclient/freetrackclient.c
index e69d9911..ee11741a 100644
--- a/freetrackclient/freetrackclient.c
+++ b/freetrackclient/freetrackclient.c
@@ -83,10 +83,11 @@ FT_EXPORT(bool) FTGetData(FTData* data)
return true;
}
+/*
// For some mysterious reason, the previously existing function FTReportID has been changed to FTReportName, but with an integer as argument.
// The Delphi-code from the FreeTrack repo suggest a char * as argument, so it cost me an afternoon to figure it out (and keep ArmA2 from crashing).
// Thanks guys!
-//
+*/
FT_EXPORT(void) FTReportName( int name )
{
dbg_report("FTReportName request (ID = %d).\n", name);
diff --git a/ftnoir_protocol_ft/fttypes.h b/ftnoir_protocol_ft/fttypes.h
index cc78a80a..d4cb0c9b 100644
--- a/ftnoir_protocol_ft/fttypes.h
+++ b/ftnoir_protocol_ft/fttypes.h
@@ -24,26 +24,26 @@
#define FT_MM_DATA "FT_SharedMem"
#define FREETRACK_MUTEX "FT_Mutext"
-// only 6 headpose floats and the data id are filled -sh
+/* only 6 headpose floats and the data id are filled -sh */
typedef struct __FTData {
int DataID;
int CamWidth;
int CamHeight;
- // virtual pose
- float Yaw; // positive yaw to the left
- float Pitch; // positive pitch up
- float Roll; // positive roll to the left
+ /* virtual pose */
+ float Yaw; /* positive yaw to the left */
+ float Pitch; /* positive pitch up */
+ float Roll; /* positive roll to the left */
float X;
float Y;
float Z;
- // raw pose with no smoothing, sensitivity, response curve etc.
+ /* raw pose with no smoothing, sensitivity, response curve etc. */
float RawYaw;
float RawPitch;
float RawRoll;
float RawX;
float RawY;
float RawZ;
- // raw points, sorted by Y, origin top left corner
+ /* raw points, sorted by Y, origin top left corner */
float X1;
float Y1;
float X2;