After trying to create a Windows application that would work with both XInput and DInput controllers I found out that all gamepad/joystick extensions currently available for Fusion (except the HTML5 one maybe, but I needed a Windows EXE version) have major limitations or serious flaws, some of which are documented here: https://community.clickteam.com/threads/44713-Joystick-2-object?p=735684&viewfull=1#post735684. I also found it ridiculous that people have tried to profit from the situation by selling toolkits that simply work around bugs and attempt to make sense of what these extensions offer to the end user. So I made my own extension that uses the SDL2 library to poll input, and I'm also releasing an open-source version of it for anyone who might want to add new features to it.
https://github.com/PiKeyAr/SDLJoystick - click on the Releases tab to download the compiled version
A few notes:
1) This extension requires SDL2.DLL to be placed in your Fusion main folder and in Data\Runtime\Unicode.
2) The extension was made for personal use. I assume no responsibility for usage of this extension in your projects and I am not obliged to provide tech support. Bug reports are welcome. Pull requests are also welcome and will be merged if the changes are compatible with my preferences. Otherwise feel free to make a fork.
3) Versions 1.50 and higher are compiled with Unicode support. I'm not sure if these versions are still compatible with MMF2.
Hope you like it!