Add Z button to the list of buttons. #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I use mods which bind X to drop dash, Y to lightspeed dash and B to bounce, so I needed another button for super transformation.
It turns out
Buttons_Z
maps toR1
/RB
as you'd expect, like on a GameCube controller.I've tested this on my end by replacing the installed mod's DLL and PDB, then manually modifying the
configschema.xml
to add the extra button and it seems to work correctly.I couldn't find that schema file on the repo so I assume you maintain it elsewhere.
It's worth noting that I had to turn off "whole program optimization" on my end otherwise VS2022 would complain about "incompatible compilers" between the mod and the mod loader library. I'm guessing this is related to the different SDK versions, XP compatibility or something like that.
I chose not to commit that change since the actual change is only on the code, but I thought you should know.