diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-24 13:51:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-24 13:51:47 +0200 |
commit | 783ad7d52940b978462afe7b743da72c4529542c (patch) | |
tree | 6f4301d807cf2f389598369048c58c42d26f139e /logic/main-settings.hpp | |
parent | 2b02544134e5c1badd036f183d2908405d5348a8 (diff) |
logic, gui: allow for disabling any of the three tcomp options
Issue: #458
Requested-by: @Borisovich
Diffstat (limited to 'logic/main-settings.hpp')
-rw-r--r-- | logic/main-settings.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp index 346c3fb2..ca18a0e9 100644 --- a/logic/main-settings.hpp +++ b/logic/main-settings.hpp @@ -67,7 +67,7 @@ struct main_settings { bundle b, b_map; axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll; - value<bool> tcomp_p, tcomp_tz; + value<bool> tcomp_p, tcomp_disable_tx, tcomp_disable_ty, tcomp_disable_tz; value<bool> tray_enabled, tray_start; value<int> camera_yaw, camera_pitch, camera_roll; value<bool> use_camera_offset_from_centering; @@ -89,7 +89,9 @@ struct main_settings a_pitch(b, b_map, "pitch", Pitch), a_roll(b, b_map, "roll", Roll), tcomp_p(b, "compensate-translation", true), - tcomp_tz(b, "compensate-translation-disable-z-axis", false), + tcomp_disable_tx(b, "compensate-translation-disable-x-axis", false), + tcomp_disable_ty(b, "compensate-translation-disable-y-axis", false), + tcomp_disable_tz(b, "compensate-translation-disable-z-axis", false), tray_enabled(b, "use-system-tray", false), tray_start(b, "start-in-tray", false), camera_yaw(b, "camera-yaw", 0), |