summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h')
-rw-r--r--ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
index 2dfb4e8f..d56c9f52 100644
--- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
+++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.h
@@ -16,12 +16,16 @@ using namespace options;
struct settings {
pbundle b;
value<int> port, idx_x, idx_y, idx_z;
+ value<int> add_yaw, add_pitch, add_roll;
settings() :
b(bundle("freepie-udp-tracker")),
port(b, "port", 4237),
idx_x(b, "axis-index-x", 0),
idx_y(b, "axis-index-y", 1),
- idx_z(b, "axis-index-z", 2)
+ idx_z(b, "axis-index-z", 2),
+ add_yaw(b, "add-yaw-degrees", 0),
+ add_pitch(b, "add-pitch-degrees", 0),
+ add_roll(b, "add-roll-degrees", 0)
{}
};