From d6672501ac74b9d0645e97f045ec2d8b9e5da289 Mon Sep 17 00:00:00 2001 From: ameerj Date: Mon, 10 Aug 2020 12:39:42 -0400 Subject: Remove UI changes This PR is now only the Analog devices handling the range value defaulting at 100% --- src/input_common/gcadapter/gc_poller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_common/gcadapter') diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp index 323b93459..b346fdf8e 100644 --- a/src/input_common/gcadapter/gc_poller.cpp +++ b/src/input_common/gcadapter/gc_poller.cpp @@ -233,7 +233,7 @@ std::unique_ptr GCAnalogFactory::Create(const Common::Param const int axis_x = params.Get("axis_x", 0); const int axis_y = params.Get("axis_y", 1); const float deadzone = std::clamp(params.Get("deadzone", 0.0f), 0.0f, .99f); - const float range = std::clamp(params.Get("range", 0.0f), 0.50f, 1.50f); + const float range = std::clamp(params.Get("range", 1.0f), 0.50f, 1.50f); return std::make_unique(port, axis_x, axis_y, deadzone, adapter.get(), range); } -- cgit v1.2.3