What I'm directly trying to do is get a single, consistent and remappable controller scheme\system that reliably supports all controller types. It seems like various folks have solved various parts of the problem, but there isn't a great uniform solution that handles all controller types. Notably, I think VX Ace natively supports PS controllers, but not XBox. Wolfpad supports XInput == Xbox controllers (and most other generic ones), but not PS.
What I've done is glued Zale's key management system to Wolfpad, layered on top of the native VX Ace input, which gives me support for all controller types (I think - hard to fully test). But, it's pretty Frakenstein. More importantly, I do not know how to create a single unified control remapping UI b/c VX Ace's native stuff uses a Win32 popup and does its key mapping internally. So, I can't trigger the popup from in-game UI, nor can I read the mapped values to drive my other input mechanisms from their UI, as far as I know.
To that end, SteamInput seemed like it might be an interesting option. If anyone has thoughts or recommendations about a different approach, I am all ears 🙂
Assuming SteamInput isn't insane, does anyone have rough advice about how integrating it would look? As far as I can tell, SteamInput is part of SteamWorks, which is effectively a dll that I'd drop into my game install dir. Then (I think?) I could use the native interop stuff (which many of the other input solutions use) to make calls into that dll, a la
Win32API.new("XINPUT9_1_0", "XInputSetState", "IP", "V")
And from there on out, it's a bunch of steam specific call patterns. Has anyone looked into this? I am a developer, but I don't work much in ruby outside of what I've done in VX Ace, so Ruby\Win32 interop is a little outside my area of expertise. Any suggestions, thoughts or ideas about whether I'm headed off into crazy town would be greatly appreciated.
FWIW, if folks can help me get this thing working, I am more than happy to release it on the forums for other people to use. There is a solution already for MV, but it's using jscript.
What I've done is glued Zale's key management system to Wolfpad, layered on top of the native VX Ace input, which gives me support for all controller types (I think - hard to fully test). But, it's pretty Frakenstein. More importantly, I do not know how to create a single unified control remapping UI b/c VX Ace's native stuff uses a Win32 popup and does its key mapping internally. So, I can't trigger the popup from in-game UI, nor can I read the mapped values to drive my other input mechanisms from their UI, as far as I know.
To that end, SteamInput seemed like it might be an interesting option. If anyone has thoughts or recommendations about a different approach, I am all ears 🙂
Assuming SteamInput isn't insane, does anyone have rough advice about how integrating it would look? As far as I can tell, SteamInput is part of SteamWorks, which is effectively a dll that I'd drop into my game install dir. Then (I think?) I could use the native interop stuff (which many of the other input solutions use) to make calls into that dll, a la
Win32API.new("XINPUT9_1_0", "XInputSetState", "IP", "V")
And from there on out, it's a bunch of steam specific call patterns. Has anyone looked into this? I am a developer, but I don't work much in ruby outside of what I've done in VX Ace, so Ruby\Win32 interop is a little outside my area of expertise. Any suggestions, thoughts or ideas about whether I'm headed off into crazy town would be greatly appreciated.
FWIW, if folks can help me get this thing working, I am more than happy to release it on the forums for other people to use. There is a solution already for MV, but it's using jscript.