diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2014-08-11 13:58:47 -0400 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2014-08-11 13:58:47 -0400 |
| commit | 35ae1b4ee27c926f6ed32a37699ef40ef614f335 (patch) | |
| tree | 2bcc2be1ec6b8039539fa26a619f9663349cfbac /Source/Core/InputCommon/ControllerEmu.cpp | |
| parent | 5928eacbe2eacaffeff991066470e1c03b2afe44 (diff) | |
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.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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)); } |
