From f50ac3549d6a7f1199fa012e4b03f581bc8d305b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Jun 2018 12:54:47 +0200 Subject: core, modules: modernize syntax only Use more C++17 features where this helps any. --- tracker-tobii-eyex/tobii-settings.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tracker-tobii-eyex/tobii-settings.hpp') 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 mode { b, "mode", tobii_snap }; - 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 acc_speed {b, "acc-speed", slider_value(.1, .05, 1)}, - acc_dz_len {b, "acc-screen-edge-length", slider_value(.1, .1, 1)}; + value snap_speed {b, "snap-speed", { .1, .05, 1 }}, + snap_inv_dz {b, "snap-screen-edge-length", { .35, .1, .5 }}; + value acc_speed {b, "acc-speed", { .1, .05, 1 }}, + acc_dz_len {b, "acc-screen-edge-length", { .1, .1, 1 }}; value snap_yaw {b, "snap-max-yaw", y20}, acc_yaw {b, "acc-max-yaw", y20}; value snap_pitch {b, "snap-max-pitch", p15}, -- cgit v1.2.3