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.
This commit is contained in:
Rachel Bryk 2014-08-11 13:58:47 -04:00
parent 5928eacbe2
commit 35ae1b4ee2
1 changed files with 5 additions and 1 deletions

View File

@ -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));
}