From ecf0b8df28a7b9c65249fb3eedca17600505349a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 16 Jul 2016 23:46:47 +0200 Subject: logic: make translation mapping range sensible --- opentrack-logic/mappings.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opentrack-logic/mappings.hpp b/opentrack-logic/mappings.hpp index 087ea7f3..4cdbc7ac 100644 --- a/opentrack-logic/mappings.hpp +++ b/opentrack-logic/mappings.hpp @@ -42,9 +42,9 @@ private: public: Mappings(std::vector opts) : axes { - Mapping("tx","tx_alt", 100, 100, *opts[TX]), - Mapping("ty","ty_alt", 100, 100, *opts[TY]), - Mapping("tz","tz_alt", 100, 100, *opts[TZ]), + Mapping("tx","tx_alt", 30, 50, *opts[TX]), + Mapping("ty","ty_alt", 30, 50, *opts[TY]), + Mapping("tz","tz_alt", 30, 50, *opts[TZ]), Mapping("rx", "rx_alt", 180, 180, *opts[Yaw]), Mapping("ry", "ry_alt", 180, 180, *opts[Pitch]), Mapping("rz", "rz_alt", 180, 180, *opts[Roll]) -- cgit v1.2.3