From 4261d6e6cc366884cd35daf66d9fa35c3dda6267 Mon Sep 17 00:00:00 2001 From: Khoa Nguyen Date: Tue, 26 Sep 2023 12:27:06 +0700 Subject: tracker/tobii: add tobii input --- tracker-tobii/thread.hpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 tracker-tobii/thread.hpp (limited to 'tracker-tobii/thread.hpp') diff --git a/tracker-tobii/thread.hpp b/tracker-tobii/thread.hpp deleted file mode 100644 index d311db87..00000000 --- a/tracker-tobii/thread.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once - -#include -#include - -#include -#include -#include -#include -#include - -class tobii_thread : public QThread -{ - Q_OBJECT - void run() override; - -public: - tobii_thread() - { - head_pose = new tobii_head_pose_t(); - } - ~tobii_thread() override; - - tobii_head_pose_t* head_pose; - -private: - tobii_api_t* api; - tobii_device_t* device; - - static constexpr unsigned int retries = 300; - static constexpr unsigned int interval = 100; - - QString error_last = ""; - std::atomic exit_thread = false; -}; -- cgit v1.2.3