From ccea3f9d2a4fba4273e3922f106ccaf504e7d2cd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 25 Sep 2016 09:05:14 +0200 Subject: gui, logic: allow prevent rotation from affecting compensation Issue: #458 --- logic/main-settings.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'logic/main-settings.hpp') diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp index ca18a0e9..53c5fae1 100644 --- a/logic/main-settings.hpp +++ b/logic/main-settings.hpp @@ -68,6 +68,7 @@ struct main_settings bundle b, b_map; axis_opts a_x, a_y, a_z, a_yaw, a_pitch, a_roll; value tcomp_p, tcomp_disable_tx, tcomp_disable_ty, tcomp_disable_tz; + value tcomp_disable_src_yaw, tcomp_disable_src_pitch, tcomp_disable_src_roll; value tray_enabled, tray_start; value camera_yaw, camera_pitch, camera_roll; value use_camera_offset_from_centering; @@ -92,6 +93,9 @@ struct main_settings 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), + tcomp_disable_src_yaw(b, "compensate-translation-disable-source-yaw", false), + tcomp_disable_src_pitch(b, "compensate-translation-disable-source-pitch", false), + tcomp_disable_src_roll(b, "compensate-translation-disable-source-roll", false), tray_enabled(b, "use-system-tray", false), tray_start(b, "start-in-tray", false), camera_yaw(b, "camera-yaw", 0), -- cgit v1.2.3