User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: SDL Joystick Object release

  1. #1
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SDL Joystick Object release

    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 into the folder where your EXE or MFA file is - this is by design because I want it to be like that in my projects. It might also require Visual C++ runtimes to be installed, but you can recompile the extension with different code generation settings ("Multi-threaded" instead of "Multi-threaded DLL") to avoid this at the cost of a larger MFX file.
    2) The extension was made for personal use, and new features will be added only if I need them in my own projects. You are welcome to make a fork of it, though. Pull requests are also welcome.
    3) SDL Joystick is based on an object template from an old SDK, and it should be compatible with MMF2 as well. The example file is not compatible, however.
    4) The extension only uses the Joystick API. The GameController abstraction and its mapping system are not available at the moment.
    5) Before making this extension I also updated z33z's Joypad object with performance improvements and support for up to 16 joysticks instead of just two. It may become available through Extension Manager sometime soon. However, I'd still recommend using SDL Joystick instead because it uses SDL2 instead of the ancient WinMM Joystick API from the Windows 9x era.

    Hope you like it!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module
    denisstephane's Avatar
    Join Date
    Jul 2015
    Location
    Alès,France
    Posts
    83
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you,very good extension.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    396
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Very cool, will check this out!

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    CapitaineCaverne's Avatar
    Join Date
    Feb 2011
    Location
    Bretigny sur Orge
    Posts
    506
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the update.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Crian's Avatar
    Join Date
    Oct 2009
    Posts
    407
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the update, so the latest version of the z33z's Joypad object should be 1.5, or am I wrong?

  6. #6
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you might be confusing it with the (slightly newer but also old) Joystick 2 object, which is a different extension.
    The updated Joypad object should be version 3.1 in the about dialog, however I don't think it's been updated yet. Since it's not my extension I can't release it on my own, so you'll have to wait until Yves approves the update in Extension Manager.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Crian's Avatar
    Join Date
    Oct 2009
    Posts
    407
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by PkR View Post
    I think you might be confusing it with the (slightly newer but also old) Joystick 2 object, which is a different extension.
    The updated Joypad object should be version 3.1 in the about dialog, however I don't think it's been updated yet. Since it's not my extension I can't release it on my own, so you'll have to wait until Yves approves the update in Extension Manager.
    Ok, thank you for the clarification!

  8. #8
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jonathan's Avatar
    Join Date
    Sep 2013
    Location
    France
    Posts
    220
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Wow I didn't see that before! That awesome dude!
    Does this extension works with almost all the joypads?

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,055
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    very good extension
    . thanks

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    791
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    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.
    I think in the case of VACCiNE, @Volnaiskra spent a considerable amount of time implementing a very complete system that allows for an out-of-the-box working solution to multiple types of controllers, and I think if you asked him, he'd tell you that he hardly profits a great deal from clickstore sales

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Joystick 2 object
    By z33z in forum Released Extensions
    Replies: 26
    Last Post: 10th October 2019, 01:39 PM
  2. Replies: 0
    Last Post: 14th June 2015, 08:54 AM
  3. Joystick 2 object
    By kromblite in forum Fusion 2.5
    Replies: 4
    Last Post: 25th January 2014, 03:28 AM
  4. [RC6/release] Joystick causes objects to disappear
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 20th March 2013, 01:10 PM
  5. Joystick object 2
    By z33z in forum File Archive
    Replies: 1
    Last Post: 11th February 2008, 09:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •