summaryrefslogtreecommitdiffhomepage
path: root/logic/main-settings.hpp
diff options
context:
space:
mode:
authorGO63-samara <go1@list.ru>2021-07-31 02:38:25 +0400
committerGO63-samara <go1@list.ru>2021-07-31 02:38:25 +0400
commit723b98296a5636f561e3903560da9f1aa1797b82 (patch)
tree14c73099c9c713d85536cef7d300227a8c881add /logic/main-settings.hpp
parentfef1936f3c320ec026a0fdf65f103494385e15e3 (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 };