summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-11-27 01:33:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-11-27 01:33:53 +0100
commit5f17327c0d9d5bd2da69139a324434d461519403 (patch)
tree8d16d0a40decf1c6625756f593f6c4698b8d9a6f /ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h
parent324f47f0740dda04cc37674d817b1bfcd1a7ec48 (diff)
initial import of hatire by Furax49
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h
new file mode 100644
index 00000000..a29fed6b
--- /dev/null
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h
@@ -0,0 +1,44 @@
+/* Copyright (c) 2012 Patrick Ruoff
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ */
+
+#ifndef FTNOIR_TRACKER_HAT_SETTINGS_H
+#define FTNOIR_TRACKER_HAT_SETTINGS_H
+
+
+//-----------------------------------------------------------------------------
+struct TrackerSettings
+{
+
+ QString SerialPortName;
+ bool EnableRoll;
+ bool EnablePitch;
+ bool EnableYaw;
+ bool EnableX;
+ bool EnableY;
+ bool EnableZ;
+
+ bool InvertRoll;
+ bool InvertPitch;
+ bool InvertYaw;
+ bool InvertX;
+ bool InvertY;
+ bool InvertZ;
+
+
+ int RollAxe;
+ int PitchAxe;
+ int YawAxe;
+ int XAxe;
+ int YAxe;
+ int ZAxe;
+
+ void load_ini();
+ void save_ini() const;
+};
+
+
+#endif //FTNOIR_TRACKER_HAT_SETTINGS_H \ No newline at end of file