summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-eyex.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-10 04:12:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-10 04:12:50 +0200
commit6135655fd9cb97d61ed03c65b3130eac9d7ccc11 (patch)
treed485260d2f5c3d084953feeddfe2d34aa79f777d /tracker-tobii-eyex/tobii-eyex.hpp
parent47986eb95ab38bb2dd4d8dc05bba04c323ed280e (diff)
tracker/tobii-eyex: working (?) prototype
Diffstat (limited to 'tracker-tobii-eyex/tobii-eyex.hpp')
-rw-r--r--tracker-tobii-eyex/tobii-eyex.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.hpp b/tracker-tobii-eyex/tobii-eyex.hpp
index def2ea2e..a3e9c1f2 100644
--- a/tracker-tobii-eyex/tobii-eyex.hpp
+++ b/tracker-tobii-eyex/tobii-eyex.hpp
@@ -61,14 +61,14 @@ private:
static void TX_CALLCONVENTION display_state_handler(TX_CONSTHANDLE async_data_handle, TX_USERPARAM param);
void process_display_state(TX_HANDLE display_state_handle);
- real gain(real x);
+ static real gain(real x);
state dev_state;
real yaw = 0, pitch = 0;
TX_CONTEXTHANDLE ctx = TX_EMPTY_HANDLE;
- TX_TICKET state_changed_ticket = TX_INVALID_TICKET;
- TX_TICKET event_handler_ticket = TX_INVALID_TICKET;
+ TX_TICKET state_change_ticket = TX_INVALID_TICKET;
+ TX_TICKET event_cookie = TX_INVALID_TICKET;
TX_HANDLE state_snapshot = TX_EMPTY_HANDLE;
TX_HANDLE display_state = TX_EMPTY_HANDLE;
@@ -83,7 +83,7 @@ class tobii_eyex_metadata : public Metadata
{
Q_OBJECT
- QString name() override { return QString("Tobii EyeX"); }
+ QString name() override { return tr("Tobii EyeX"); }
QIcon icon() override { return QIcon(":/images/tobii-eyex-logo.png"); }
};