summaryrefslogtreecommitdiffhomepage
path: root/logic/main-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-05 22:47:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-06 04:03:38 +0200
commitfe5298dd106579e257c05fa6f0c8f63b10504a61 (patch)
treec0be67ccbfd3245937f79ab80fc5d340e13ede16 /logic/main-settings.hpp
parentaac3d4b4578585b8b3f96685502f2941d492ee1a (diff)
gui, logic: add shortcut for "translation compensation off while held"
Requested-by: @Sone989 Issue: #440
Diffstat (limited to 'logic/main-settings.hpp')
-rw-r--r--logic/main-settings.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp
index 0922ed37..04a5c6fd 100644
--- a/logic/main-settings.hpp
+++ b/logic/main-settings.hpp
@@ -76,6 +76,7 @@ struct main_settings
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;
+ key_opts key_disable_tcomp_press;
value<bool> tracklogging_enabled;
value<QString> tracklogging_filename;
main_settings() :
@@ -105,6 +106,7 @@ struct main_settings
key_zero(b, "zero"),
key_toggle_press(b, "toggle-press"),
key_zero_press(b, "zero-press"),
+ key_disable_tcomp_press(b, "disable-translation-compensation-while-held"),
tracklogging_enabled(b, "tracklogging-enabled", false),
tracklogging_filename(b, "tracklogging-filename", QString())
{