summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-eyex.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-31 21:04:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-10-31 21:04:44 +0100
commitd971b9d699f7862b4c9414abfdb64445f4be9018 (patch)
treef61d31339f1d824b213979d4cabd5b20cdf5358b /tracker-tobii-eyex/tobii-eyex.cpp
parent74253af3f832df22a742761a5f5a1454f1cc3c9b (diff)
tracker/tobii: set up settings for prototype vesion
The initial version won't have a generalized spline with multiple parameters to configure the gain. But it's doable in one go unlike a fully-fledged version from the start.
Diffstat (limited to 'tracker-tobii-eyex/tobii-eyex.cpp')
-rw-r--r--tracker-tobii-eyex/tobii-eyex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.cpp b/tracker-tobii-eyex/tobii-eyex.cpp
index eb5aae42..e35c849e 100644
--- a/tracker-tobii-eyex/tobii-eyex.cpp
+++ b/tracker-tobii-eyex/tobii-eyex.cpp
@@ -1,13 +1,13 @@
#include "tobii-eyex.hpp"
+#include "compat/math-imports.hpp"
+
#include <cstdlib>
#include <cstdio>
-#include <cmath>
+
#include <QDebug>
#include <QMutexLocker>
#include <QMessageBox>
-// XXX TODO whole opentrack needs different debug levels -sh 20160801
-
//#define TOBII_EYEX_DEBUG_PRINTF
#define TOBII_EYEX_VERBOSE_PRINTF
@@ -236,7 +236,7 @@ void tobii_eyex_tracker::start_tracker(QFrame*)
dbg_verbose("api initialized");
}
-tobii_eyex_tracker::num tobii_eyex_tracker::gain(num /*x_*/)
+tobii_eyex_tracker::num tobii_eyex_tracker::gain(num x)
{
return 1;
}