summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-02-17 06:10:13 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-02-17 06:10:13 +0100
commitdaf8d590858d610e9a2702c70399c0d7bb2778ee (patch)
tree3f50d8acf803203799e4ea44be26204ed6fa21b4 /opentrack/main-settings.hpp
parent7da215ba3abca612b30d2d66e2be35f11342a7b0 (diff)
shortcuts: allow customize whether to center on startup
Issue: #128
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r--opentrack/main-settings.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index def21f31..971e0fba 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -29,6 +29,7 @@ struct main_settings {
value<bool> tcomp_p, tcomp_tz;
value<bool> tray_enabled;
value<int> camera_yaw, camera_pitch;
+ value<bool> center_at_startup;
main_settings(pbundle b) :
b(b),
tracker_dll(b, "tracker-dll", ""),
@@ -45,6 +46,7 @@ struct main_settings {
tcomp_tz(b, "compensate-translation-disable-z-axis", false),
tray_enabled(b, "use-system-tray", false),
camera_yaw(b, "camera-yaw", 0),
- camera_pitch(b, "camera-pitch", 0)
+ camera_pitch(b, "camera-pitch", 0),
+ center_at_startup(b, "center-at-startup", true)
{}
};