diff options
author | DaMichel <mw.pub@welter-4d.de> | 2016-07-29 11:12:22 +0200 |
---|---|---|
committer | DaMichel <mw.pub@welter-4d.de> | 2016-07-29 11:38:21 +0200 |
commit | 7b3be452b6be528de753a1a633a3aacdb11be86c (patch) | |
tree | 63df2693909a92529610a055e2f670d5860cedf8 /opentrack-logic/main-settings.hpp | |
parent | 2bae0bce582f05259f64fb13b364fe6dbd28817a (diff) |
new track logging: record poses in various stages of processing into a file
Diffstat (limited to 'opentrack-logic/main-settings.hpp')
-rw-r--r-- | opentrack-logic/main-settings.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/opentrack-logic/main-settings.hpp b/opentrack-logic/main-settings.hpp index a7dcd11c..81eb99cf 100644 --- a/opentrack-logic/main-settings.hpp +++ b/opentrack-logic/main-settings.hpp @@ -73,6 +73,8 @@ 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; + value<bool> tracklogging_enabled; + value<QString> tracklogging_filename; main_settings() : b(bundle("opentrack-ui")), a_x(b, "x", TX), @@ -98,7 +100,9 @@ struct main_settings key_toggle(b, "toggle"), key_zero(b, "zero"), key_toggle_press(b, "toggle-press"), - key_zero_press(b, "zero-press") + key_zero_press(b, "zero-press"), + tracklogging_enabled(b, "tracklogging-enabled", false), + tracklogging_filename(b, "tracklogging-filename", QString()) { } }; |