diff options
| author | Marcus Wanners <marcus@wanners.net> | 2009-03-24 14:53:26 +0000 |
|---|---|---|
| committer | Marcus Wanners <marcus@wanners.net> | 2009-03-24 14:53:26 +0000 |
| commit | bc95b606c4cc3210f121ba04d820eaccbb1bd09e (patch) | |
| tree | 78f764ecef7c92d813cbaad1eecabb157c9dfc00 /Source | |
| parent | 393d477f27984501087723dcaf3a23bf620b3ead (diff) | |
More power for X360 rumble (issue 770).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2747 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
