You are viewing a potentially older version of this package.
View all versions.
AddControls
Add custom controls, remove existing controls, etc.
| Date uploaded | 8 months ago |
| Version | 0.2.1 |
| Download link | darmuh-AddControls-0.2.1.zip |
| Downloads | 1476 |
| Dependency string | darmuh-AddControls-0.2.1 |
This mod requires the following mods to function
BepInEx-BepInExPack_PEAK
BepInEx pack for PEAK. Preconfigured and ready to use.
Preferred version: 5.4.2403README
AddControls
Manage existing controls via generative configuration items. Manually add new bindings for any existing control.
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.
CHANGELOG
Changelog
0.2.1
- forgot a line to actually make the changes to generative controls, added now :)
0.2.0
- Reworked mod to be better applied to all Unity games that utilize the InputAction binding system.
- Updated readme for current version, removed references to PEAK.
- Configuration items with all valid control types are now generated for each input action with a valid device name.
- This should make the mod work better out of the box as a manual install for any new game.
- You can still manually add controls but default controls can no longer be removed.
0.1.1
- Added ParsedInfo class in place of dictionary to allow for binding the same action name to multiple keys
- Consolidated config parsing to ParseConfigItem method
- Updated config parsing method to better handle unexpected formatting or invalid input
- Updated valid values validation to not be case sensitive in AddBind
- Removed some unused usings
- Added check in parsing the config items for duplicate action/key binds
- Added a slightly modified InitBindingsValidation from Permamiss' PR
0.1.0
- Initial release