From 135b1a33cc3eb5afdd540a429bafd2e36d9f7c07 Mon Sep 17 00:00:00 2001 From: ayuanx Date: Sat, 23 Jan 2010 13:34:18 +0000 Subject: Fixes Rumble Strength for XInput git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4933 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_GCpad/ConfigBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Plugins/Plugin_GCpad/ConfigBox.cpp') 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); -- cgit v1.2.3