summaryrefslogtreecommitdiffhomepage
path: root/logic/main-settings.hpp
diff options
context:
space:
mode:
authorGO63-samara <go1@list.ru>2021-07-31 02:38:25 +0400
committerStanislaw Halik <sthalik@misaki.pl>2021-08-18 19:47:13 +0200
commitc5a652e9ad60f1ab0ee586d578daa0be79359b28 (patch)
tree310e2ea5460e8702cc5dec9b96e7031b94fde0a0 /logic/main-settings.hpp
parent2fc5d7b3490e41952e0e335841d7d7f72a3b76a9 (diff)
Adding a choice of centering method
Diffstat (limited to 'logic/main-settings.hpp')
-rw-r--r--logic/main-settings.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp
index 8fef7ea7..0795bca4 100644
--- a/logic/main-settings.hpp
+++ b/logic/main-settings.hpp
@@ -22,6 +22,14 @@ enum reltrans_state
reltrans_non_center = 2,
};
+enum centering_state
+{
+ center_disabled = 0,
+ center_point = 1,
+ center_vr360 = 2,
+ center_roll_compensated = 3,
+};
+
namespace main_settings_impl {
using namespace options;
@@ -65,7 +73,7 @@ struct OTR_LOGIC_EXPORT main_settings final
value<bool> tray_start { b, "start-in-tray", false };
value<bool> center_at_startup { b, "center-at-startup", true };
- //value<int> center_method;
+ value<centering_state> centering_mode { b, "centering-mode", center_roll_compensated };;
value<int> neck_z { b, "neck-depth", 0 };
value<bool> neck_enable { b, "neck-enable", false };