summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-31 12:38:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-31 12:38:27 +0200
commit5b9ccf5164199804b6574b40914ee77baf0b6a78 (patch)
tree49659924d357c80d0ae22209bef3b0271c8e68a7 /tracker-tobii-eyex/tobii-settings.hpp
parent1e108eb2fd484f62a55041a2d538b8e51bb297e7 (diff)
tracker/tobii-eyex: remove obsolete code
The API is obsolete as well as the device.
Diffstat (limited to 'tracker-tobii-eyex/tobii-settings.hpp')
-rw-r--r--tracker-tobii-eyex/tobii-settings.hpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/tracker-tobii-eyex/tobii-settings.hpp b/tracker-tobii-eyex/tobii-settings.hpp
deleted file mode 100644
index 138faa54..00000000
--- a/tracker-tobii-eyex/tobii-settings.hpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#pragma once
-
-#include "options/options.hpp"
-using namespace options;
-
-enum tobii_mode
-{
- tobii_snap = 0xf00d,
- tobii_acc = 0xacc,
-};
-
-enum max_yaw
-{
- y10, y15, y20, y30, y45,
-};
-
-enum max_pitch
-{
- p10, p15, p25, p35,
-};
-
-struct settings final : public opts
-{
-#if 0
- value<tobii_mode> mode { b, "mode", tobii_snap };
-
- value<slider_value> snap_speed {b, "snap-speed", { .1, .05, 1 }},
- snap_inv_dz {b, "snap-screen-edge-length", { .35, .1, .5 }};
- value<slider_value> acc_speed {b, "acc-speed", { .1, .05, 1 }},
- acc_dz_len {b, "acc-screen-edge-length", { .1, .1, 1 }};
- value<max_yaw> snap_yaw {b, "snap-max-yaw", y20},
- value<max_pitch> snap_pitch {b, "snap-max-pitch", p15},
- acc_pitch {b, "acc-max-pitch", p15};
- acc_yaw {b, "acc-max-yaw", y20};
-#endif
- value<slider_value> acc_speed { b, "acc-max-speed-deg", { 3, 1, 10 } };
- value<slider_value> acc_dz { b, "acc-deadzone", { .15, .0, .5 } };
-
- value<slider_value> acc_max_yaw { b, "acc-max-yaw", { 45, 15, 60} },
- acc_max_pitch { b, "acc-max-pitch", { 45, 15, 60 } };
-
- settings();
-};