From bc95b606c4cc3210f121ba04d820eaccbb1bd09e Mon Sep 17 00:00:00 2001 From: Marcus Wanners Date: Tue, 24 Mar 2009 14:53:26 +0000 Subject: [PATCH] More power for X360 rumble (issue 770). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2747 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp b/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp index d0666cedfa..40833f3a5e 100644 --- a/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp +++ b/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp @@ -811,7 +811,10 @@ void PAD_Rumble(u8 _numPAD, unsigned int _uType, unsigned int _uStrength) } else if (_uType == 1) { - a = _uStrength > 2 ? 8000 : 0; + // Put big number lower if the rumble is too strong. + // Original value was 8000, but this was too weak for + // parts of some games. + a = _uStrength > 2 ? 65535 : 0; } a = int ((float)a * 0.96f);