Bugfix of 1.4 (again)


Hello,

thanks to  the user elchahli  finding an error in the plugin, I think I was able to fix the issue. I think, it has to do with the functions provided by the Gamepad API depending on the version.  For me, the function  item() exists on the Gamepad Object, but for them it seemed to be missing. For that purpose, I wrote following fix.


Here we have the central function vibrateGamepad. To have a more stable access, the plugin now uses the getGamePadFromList() function, which has a default case and a fallback.

I hope, this will solve the problem. That is all for now.


Files

EFJ_Baron_GamepadModification.zip 3.9 kB
Jul 30, 2024

Get [Plugin] Gamepad Modification and Vibration [MV/MZ]

Leave a comment

Log in with itch.io to leave a comment.