summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-22 12:54:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:01:53 +0200
commitf50ac3549d6a7f1199fa012e4b03f581bc8d305b (patch)
tree50ff044f1c618119c88544709808f533ed02225e /tracker-tobii-eyex
parentd61eb905ae3fa161d50821d01ee47915713e89c2 (diff)
core, modules: modernize syntax only
Use more C++17 features where this helps any.
Diffstat (limited to 'tracker-tobii-eyex')
-rw-r--r--tracker-tobii-eyex/tobii-settings.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-tobii-eyex/tobii-settings.hpp b/tracker-tobii-eyex/tobii-settings.hpp
index a486306d..49b9cae8 100644
--- a/tracker-tobii-eyex/tobii-settings.hpp
+++ b/tracker-tobii-eyex/tobii-settings.hpp
@@ -23,10 +23,10 @@ struct settings final : public opts
{
value<tobii_mode> mode { b, "mode", tobii_snap };
- value<slider_value> snap_speed {b, "snap-speed", slider_value(.1, .05, 1)},
- snap_inv_dz {b, "snap-screen-edge-length", slider_value(.35, .1, .5)};
- value<slider_value> acc_speed {b, "acc-speed", slider_value(.1, .05, 1)},
- acc_dz_len {b, "acc-screen-edge-length", slider_value(.1, .1, 1)};
+ 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},
acc_yaw {b, "acc-max-yaw", y20};
value<max_pitch> snap_pitch {b, "snap-max-pitch", p15},