summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-16 23:46:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-16 23:54:29 +0200
commitecf0b8df28a7b9c65249fb3eedca17600505349a (patch)
treea116635e9cca2ee9405d675f73051e0cfdf8cd13
parentb100e39826bd17ef7f5e3d1ec06f2afb8c7af9c1 (diff)
logic: make translation mapping range sensible
-rw-r--r--opentrack-logic/mappings.hpp6
1 files 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<axis_opts*> 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])