From 35ae1b4ee27c926f6ed32a37699ef40ef614f335 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Mon, 11 Aug 2014 13:58:47 -0400 Subject: [PATCH] Set the default radius to 100 for non-gcpad analog sticks. The previous default of 70 was determined based on gc controllers, and is not right at all for the wii extensions. --- Source/Core/InputCommon/ControllerEmu.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/InputCommon/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu.cpp index 6e2bf8aa73..e5822a0e9e 100644 --- a/Source/Core/InputCommon/ControllerEmu.cpp +++ b/Source/Core/InputCommon/ControllerEmu.cpp @@ -144,7 +144,11 @@ ControllerEmu::AnalogStick::AnalogStick(const char* const _name) : ControlGroup( controls.emplace_back(new Input(_trans("Modifier"))); - settings.emplace_back(new Setting(_trans("Radius"), 0.7f, 0, 100)); + // Default to 100 radius for everything but gcpad. + if (name == "Stick" || name == "Left Stick" || name == "Right Stick") + settings.emplace_back(new Setting(_trans("Radius"), 1.0f, 0, 100)); + else + settings.emplace_back(new Setting(_trans("Radius"), 0.7f, 0, 100)); settings.emplace_back(new Setting(_trans("Dead Zone"), 0, 0, 50)); }