mirror of
https://github.com/blawar/ooot.git
synced 2024-07-02 09:03:36 +00:00
Increased the minimum decay of rumble.
This commit is contained in:
parent
f1736802e7
commit
501f9f2f75
|
@ -477,8 +477,8 @@ void Joypad::onVibrate(uint8_t strength, uint8_t vibtime, uint8_t decay)//Called
|
||||||
return;
|
return;
|
||||||
if (strength <= 20)
|
if (strength <= 20)
|
||||||
return;
|
return;
|
||||||
if (decay <= 0)
|
if (decay < 8)
|
||||||
decay = 1;
|
decay = 8;
|
||||||
|
|
||||||
uint32_t strengthScaled = strength * strength;
|
uint32_t strengthScaled = strength * strength;
|
||||||
//uint32_t strengthScaled = strength * 257;
|
//uint32_t strengthScaled = strength * 257;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user