From 723b98296a5636f561e3903560da9f1aa1797b82 Mon Sep 17 00:00:00 2001 From: GO63-samara Date: Sat, 31 Jul 2021 02:38:25 +0400 Subject: Adding a choice of centering method --- logic/main-settings.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'logic/main-settings.hpp') 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 tray_start { b, "start-in-tray", false }; value center_at_startup { b, "center-at-startup", true }; - //value center_method; + value centering_mode { b, "centering-mode", center_roll_compensated };; value neck_z { b, "neck-depth", 0 }; value neck_enable { b, "neck-enable", false }; -- cgit v1.2.3