summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-09 07:18:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-09 07:18:25 +0200
commitf5610a1ac847f17402415e4bf1080f84fd8d185f (patch)
treed8dda5864941a1d903a1fcf87ece585aa24d532b /tracker-tobii-eyex/tobii-settings.hpp
parent793cea587159a0ba01fec6af28e899697ef4da79 (diff)
tracker/tobii: add prototype support for accumulative mode
Diffstat (limited to 'tracker-tobii-eyex/tobii-settings.hpp')
-rw-r--r--tracker-tobii-eyex/tobii-settings.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/tracker-tobii-eyex/tobii-settings.hpp b/tracker-tobii-eyex/tobii-settings.hpp
index 49b9cae8..6101a28f 100644
--- a/tracker-tobii-eyex/tobii-settings.hpp
+++ b/tracker-tobii-eyex/tobii-settings.hpp
@@ -21,6 +21,7 @@ enum max_pitch
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 }},
@@ -28,9 +29,15 @@ struct settings final : public opts
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},
- acc_yaw {b, "acc-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, .3 } };
- settings() : opts("tobii-eyex") {}
+ value<slider_value> acc_max_yaw { b, "acc-max-yaw", { 30, 15, 45} },
+ acc_max_pitch { b, "acc-max-pitch", { 30, 15, 45 } };
+
+ settings();
};