summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r--opentrack/tracker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h
index 84202635..bf0047b4 100644
--- a/opentrack/tracker.h
+++ b/opentrack/tracker.h
@@ -29,6 +29,7 @@ private:
double newpose[6];
std::atomic<bool> centerp;
std::atomic<bool> enabledp;
+ std::atomic<bool> zero_;
std::atomic<bool> should_quit;
SelectedLibraries const& libs;
@@ -48,4 +49,5 @@ public:
void start() { QThread::start(); }
void toggle_enabled() { enabledp.store(!enabledp.load()); }
void center() { centerp.store(!centerp.load()); }
+ void zero() { zero_.store(!zero_.load()); }
};