diff options
Diffstat (limited to 'ftnoir_tracker_rift')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.h b/ftnoir_tracker_rift/ftnoir_tracker_rift.h index 179125f8..231648dd 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.h +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.h @@ -9,12 +9,11 @@ #include "opentrack/options.hpp" using namespace options; -struct settings { - pbundle b; +struct settings : opts { value<bool> useYawSpring; value<double> constant_drift, persistence, deadzone; settings() : - b(bundle("Rift")), + opts("Rift"), useYawSpring(b, "yaw-spring", false), constant_drift(b, "constant-drift", 0.000005), persistence(b, "persistence", 0.99999), |