summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-eyex.hpp
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.hpp
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.hpp')
-rw-r--r--tracker-tobii-eyex/tobii-eyex.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.hpp b/tracker-tobii-eyex/tobii-eyex.hpp
index 62b0d733..a86a4a76 100644
--- a/tracker-tobii-eyex/tobii-eyex.hpp
+++ b/tracker-tobii-eyex/tobii-eyex.hpp
@@ -10,13 +10,13 @@
#include "tobii-settings.hpp"
-#include <EyeX.h>
-
#include "api/plugin-api.hpp"
#include "options/options.hpp"
using namespace options;
#include "compat/timer.hpp"
+#include <EyeX.h>
+
#include <functional>
#include <atomic>
@@ -53,9 +53,6 @@ private:
num gain(num x);
- settings s;
- rel_settings rel_s;
-
TX_CONTEXTHANDLE dev_ctx;
TX_TICKET conn_state_changed_ticket;
TX_TICKET event_handler_ticket;
@@ -63,7 +60,7 @@ private:
TX_HANDLE display_state;
QMutex global_state_mtx;
-
+ settings s;
Timer t;
struct state