This is a prepackaged zip file you can use to add/remove controls from any Unity game that uses the "new" input system.
The bepinex files in this release are from https://github.com/BepInEx/BepInEx/releases/tag/v5.4.23.4
Installation Instructions:
- Extract all of zip contents to game folder
- Launch game and load into main menu, then close the game.
- Navigate to the following folder path in the game folder: BepInEx\config
- Open the
com.github.darmuh.AddControls.cfgfile that was generated after launching the game. - If the game you're playing is using Unity's InputAction system for binding controls, you'll see a listing of configuration items that were generated that correspond to a valid device on your system.
- You may also manually add new binds via the configuration steps listed in the Configuration section below.
- Once you have finished editing the configuration file and have saved the changes, re-launch the game.
- Upon launching the mod will add/change controls based on your configuration settings.
Configuration:
Add Custom Bindings
- To add custom bindings, you'll want to modify the
Binds Addedconfiguration item in theManual Bindssection of the config. - This configuration item is a single text string that will be parsed for your desired input action and keybinding.
- The format is as follows:
actionName:keybindingPath;actionName2:keybindingPath2 - For example: if you wanted to bind the action,
Crouch, to the key,C, and the action,Jump, to the mouseScroll Wheelyou would doCrouch:<Keyboard>/c;Jump:<Mouse>/scroll - If this config item is changed mid-game, any previous added keybinds will be cleared.
Action Names and Keybind Paths
- For a list of acceptable actions and keybind paths, please enable debug logging and check your LogOutput.Log after launching once.
- NOTE: There is no limit to how many binds you can add. Just continue to follow the correct formatting for each new action/keybind.