diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-09 12:45:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-09 12:54:55 +0100 |
commit | 5a5cf4bac9af84252b28e56b15b71708f8cd3b7b (patch) | |
tree | 19c4561fcf66ab32b2a629f74157f815c7b464d5 /logic/main-settings.hpp | |
parent | bad34742736f7d9ee781f77766629140a49d6f28 (diff) |
gui, logic: allow toggle neck displacement
It was only possible to zero the values to turn it off.
Diffstat (limited to 'logic/main-settings.hpp')
-rw-r--r-- | logic/main-settings.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp index ea1d93f3..749f6d25 100644 --- a/logic/main-settings.hpp +++ b/logic/main-settings.hpp @@ -75,6 +75,7 @@ struct main_settings value<bool> center_at_startup; value<int> center_method; value<int> neck_y, neck_z; + value<bool> neck_enable; key_opts key_start_tracking, key_stop_tracking, key_toggle_tracking, key_restart_tracking; key_opts key_center, key_toggle, key_zero; key_opts key_toggle_press, key_zero_press; @@ -107,6 +108,7 @@ struct main_settings center_method(b, "centering-method", true), neck_y(b, "neck-height", 0), neck_z(b, "neck-depth", 0), + neck_enable(b, "neck-enable", false), key_start_tracking(b, "start-tracking"), key_stop_tracking(b, "stop-tracking"), key_toggle_tracking(b, "toggle-tracking"), |