summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-18 17:26:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-18 17:46:53 +0100
commitcce8a110e1ede64ef98ec3dba3e5d4f227a0edf4 (patch)
tree539fe3f339dc2c42cb99baa97ca0575741cacf10 /opentrack/main-settings.hpp
parentd5ce4687939d0bbc85a8dbaab51aab9b62b08d0e (diff)
implement camera offset
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r--opentrack/main-settings.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index 2c909d27..def21f31 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -28,6 +28,7 @@ struct main_settings {
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;
main_settings(pbundle b) :
b(b),
tracker_dll(b, "tracker-dll", ""),
@@ -42,6 +43,8 @@ struct main_settings {
a_roll(b, "roll", Roll),
tcomp_p(b, "compensate-translation", true),
tcomp_tz(b, "compensate-translation-disable-z-axis", false),
- tray_enabled(b, "use-system-tray", false)
+ tray_enabled(b, "use-system-tray", false),
+ camera_yaw(b, "camera-yaw", 0),
+ camera_pitch(b, "camera-pitch", 0)
{}
};