diff options
| author | ayuanx <ayuanx@gmail.com> | 2010-01-23 13:34:18 +0000 |
|---|---|---|
| committer | ayuanx <ayuanx@gmail.com> | 2010-01-23 13:34:18 +0000 |
| commit | 135b1a33cc3eb5afdd540a429bafd2e36d9f7c07 (patch) | |
| tree | 5a794169b89d7a323abfc55d156949a5e0b4e947 /Source/Plugins/Plugin_GCpad/ConfigBox.cpp | |
| parent | 6b2466c8698b9aef03aada137e25e7ef631f4356 (diff) | |
Fixes Rumble Strength for XInput
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4933 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_GCpad/ConfigBox.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_GCpad/ConfigBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_GCpad/ConfigBox.cpp b/Source/Plugins/Plugin_GCpad/ConfigBox.cpp index 2c9e08d882..52e19a7201 100644 --- a/Source/Plugins/Plugin_GCpad/ConfigBox.cpp +++ b/Source/Plugins/Plugin_GCpad/ConfigBox.cpp @@ -295,7 +295,7 @@ void GCPadConfigDialog::ChangeSettings(wxCommandEvent& event) GCMapping[m_Page].Rumble = m_CheckRumble[m_Page]->IsChecked();
break;
case IDC_RUMBLE_STRENGTH:
- GCMapping[m_Page].RumbleStrength = m_RumbleStrength[m_Page]->GetSelection();
+ GCMapping[m_Page].RumbleStrength = m_RumbleStrength[m_Page]->GetSelection() * 10;
break;
case IDC_TRIGGER_TYPE:
GCMapping[m_Page].TriggerType = m_TriggerType[m_Page]->GetSelection();
@@ -341,7 +341,7 @@ void GCPadConfigDialog::UpdateGUI() m_ComboDiagonal[m_Page]->SetSelection((100 - GCMapping[m_Page].Diagonal) / 5);
m_CheckS2C[m_Page]->SetValue(GCMapping[m_Page].bSquare2Circle);
m_CheckRumble[m_Page]->SetValue(GCMapping[m_Page].Rumble);
- m_RumbleStrength[m_Page]->SetSelection(GCMapping[m_Page].RumbleStrength);
+ m_RumbleStrength[m_Page]->SetSelection(GCMapping[m_Page].RumbleStrength / 10);
m_TriggerType[m_Page]->SetSelection(GCMapping[m_Page].TriggerType);
m_Combo_StickSrc[m_Page]->SetSelection(GCMapping[m_Page].Stick.Main);
|
