summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-settings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r--opentrack/main-settings.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index 793c52f7..2d1c1f22 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -16,12 +16,10 @@ using namespace options;
struct axis_opts {
pbundle b;
- value<double> zero;
value<bool> invert, altp;
value<int> src;
axis_opts(pbundle b, QString pfx, int idx) :
b(b),
- zero(b, n(pfx, "zero-pos"), 0),
invert(b, n(pfx, "invert-sign"), false),
altp(b, n(pfx, "alt-axis-sign"), false),
src(b, n(pfx, "source-index"), idx)
@@ -44,19 +42,17 @@ struct key_opts {
};
struct main_settings : opts {
- value<QString> tracker_dll, filter_dll, protocol_dll;
+ value<QString> protocol_dll;
axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll;
value<bool> tcomp_p, tcomp_tz;
value<bool> tray_enabled;
value<int> camera_yaw, camera_pitch, camera_roll;
- value<bool> center_at_startup;
+ value<bool> center_at_startup, wizard_done;
value<int> center_method;
key_opts key_start_tracking, key_stop_tracking, key_toggle_tracking;
key_opts key_center, key_toggle, key_zero;
main_settings() :
opts("opentrack-ui"),
- tracker_dll(b, "tracker-dll", ""),
- filter_dll(b, "filter-dll", "Accela"),
protocol_dll(b, "protocol-dll", "freetrack 2.0 Enhanced"),
a_x(b, "x", TX),
a_y(b, "y", TY),
@@ -71,6 +67,7 @@ struct main_settings : opts {
camera_pitch(b, "camera-pitch", 0),
camera_roll(b, "camera-roll", 0),
center_at_startup(b, "center-at-startup", true),
+ wizard_done(b, "wizard-done", false),
center_method(b, "centering-method", true),
key_start_tracking(b, "start-tracking"),
key_stop_tracking(b, "stop-tracking"),