Posted July 30, 2024 by Eric the Funny Baron
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.