diff options
Diffstat (limited to 'opentrack/main-settings.hpp')
| -rw-r--r-- | opentrack/main-settings.hpp | 11 | 
1 files changed, 3 insertions, 8 deletions
| diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp index d1fe574d..dd61143e 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) @@ -33,17 +31,14 @@ private:  };  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<int> center_method; +    value<bool> center_at_startup, wizard_done;      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), @@ -58,6 +53,6 @@ struct main_settings : opts {          camera_pitch(b, "camera-pitch", 0),          camera_roll(b, "camera-roll", 0),          center_at_startup(b, "center-at-startup", true), -        center_method(b, "centering-method", false) +        wizard_done(b, "wizard-done", false)      {}  }; | 
