summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/tracker.h')
-rwxr-xr-x[-rw-r--r--]opentrack/tracker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h
index 36b5cad4..079ce473 100644..100755
--- a/opentrack/tracker.h
+++ b/opentrack/tracker.h
@@ -81,6 +81,8 @@ public:
void get_raw_and_mapped_poses(double* mapped, double* raw) const;
void start() { QThread::start(); }
void toggle_enabled() { qDebug() << "toggle enabled"; enabledp = !enabledp; }
+ void set_toggle(bool value) { qDebug() << "enabled" << value; enabledp = value; }
+ void set_zero(bool value) { qDebug() << "zero" << value; zero_ = value; }
void center() { qDebug() << "toggle center"; centerp = !centerp; }
void zero() { qDebug() << "toggle zero"; zero_ = !zero_; }
};