diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-07-28 12:14:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-07-28 12:22:57 +0200 |
commit | b3b44a7f8e6c1365a0c917517501866ac3c5f684 (patch) | |
tree | 7bbbeba7f85ca707e0d8f4ed57c6f7156bcc5f96 /ftnoir_tracker_rift/ftnoir_tracker_rift.h | |
parent | 7bf7e2af2f6f62251eafc5ddd08db6effd3df751 (diff) |
rift: position tracking, logic fixes
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.h')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.h b/ftnoir_tracker_rift/ftnoir_tracker_rift.h index 54a8bcad..e351b5fe 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.h +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.h @@ -12,13 +12,16 @@ using namespace options; struct settings { pbundle b; - value<bool> bEnableYaw, bEnablePitch, bEnableRoll, useYawSpring; + value<bool> bEnableYaw, bEnablePitch, bEnableRoll, bEnableX, bEnableY, bEnableZ, useYawSpring; value<double> constant_drift, persistence, deadzone; settings() : b(bundle("Rift")), bEnableYaw(b, "EnableYaw", true), bEnablePitch(b, "EnablePitch", true), bEnableRoll(b, "EnableRoll", true), + bEnableX(b, "EnableX", true), + bEnableY(b, "EnableY", true), + bEnableZ(b, "EnableZ", true), useYawSpring(b, "yaw-spring", false), constant_drift(b, "constant-drift", 0.000005), persistence(b, "persistence", 0.99999), |