Is SDL Joystick object not working out for ya?
Is SDL Joystick object not working out for ya?
SDL is pretty good but check this out:
https://community.clickteam.com/threads/108238-Build-293-1-Release-version?p=766723&viewfull=1#post766723
I haven't tried it yet. I was delighted when I found out that there was a new object, and even more delighted when I discovered that you were taking over the reigns. But still, I've told myself that I won't spend any more time on gamepad stuff until my game is close to being released. I spent so much time wrestling with Joystick 2 back in the day, and I'd rather not do more work now that I may need to undo or redo in the future. I don't know how 'high-level' SDL is compared to Joystick 2 in terms of how it lets you interface with the gamepad (hopefully more so, since Joystick 2 just vomits out raw data that's almost impossible to use on its own). But I suspect that even if SDL is much more high level, there'll still be things that would need to be extrapolated or normalised, for stuff like consistent (and adjustable) deadzones across all joysticks and all gamepads (that can be adjusted and/or bypassed), a simple way to gauge analog joystick strength that's consistent across all angles, easy-to-configure vibration, and so on. Maybe SDL already has all these things in-built (I asked about them on the SDL thread once but no-one answered).
Over the years, I've also seen how new gamepad problems can arise out of the blue (eg. some people couldn't get it to work on Steam at a certain point, then the Steam Controller seemed to add more issues). And when I read NaitorStudios' post (that Edel linked to above) about a problem that sounds quite serious, yet which you can't do anything about because as a 3rd-party developer you don't have access to certain core Fusion processes, it reinforces my view that something as fundamental as gamepad support needs to be done by Clickteam. Maybe they need to pay you or PkR to adapt SDL directly into Fusion. But either way, I think it needs to be integrated into the core engine.