This PR adds a new way for mods to create their own virtual buttons and sticks, and add their own default bindings for them. It also reworks how default bindings work in general for more flexibility, and better mod support.
Now, to add virtual buttons, modders just have to add something like this to their mod settings file:
They can add as many default bindings as they want, and support either keyboard or controller.
This PR also makes a new Mod Controller binding menu, which is very similar to the normal controls binding menu. This menu can be found as part of the Mod Settings page for the mod, and players can set separately for keyboard and controller.
This PR adds a new way for mods to create their own virtual buttons and sticks, and add their own default bindings for them. It also reworks how default bindings work in general for more flexibility, and better mod support.
Now, to add virtual buttons, modders just have to add something like this to their mod settings file:
They can add as many default bindings as they want, and support either keyboard or controller.
This PR also makes a new Mod Controller binding menu, which is very similar to the normal controls binding menu. This menu can be found as part of the Mod Settings page for the mod, and players can set separately for keyboard and controller.