You are viewing a potentially older version of this package. View all versions.
darmuh-AddControls-0.1.1 icon

AddControls

Add custom controls, remove existing controls, etc.

Date uploaded 11 months ago
Version 0.1.1
Download link darmuh-AddControls-0.1.1.zip
Downloads 3048
Dependency string darmuh-AddControls-0.1.1

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

AddControls

Add and remove bindings of your own! Allows for binding any control to multiple keys.

Configuration

Add Custom Bindings

  • To add custom bindings, you'll want to modify the Binds Added configuration item.
  • 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 mouse Scroll Wheel you would do Crouch:<Keyboard>/c;Jump:<Mouse>/scroll

Remove Existing Bindings

  • To remove bindings, you'll want to modify the Binds Removed configuration item.
  • 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 unbind the action, Crouch, from the key, CTRL, you would do Crouch:<Keyboard>/ctrl

Action Names and Keybind Paths

  • For a list of acceptable actions please see Possible Action Names.
  • For a list of acceptable keybinding paths see KeyBindValues.txt from Peak-Unbound
  • NOTE: There is no limit to how many binds you can add or remove. Just continue to follow the correct formatting for each new action/keybind.

Making changes in-game

  • If you would like to reload your config items to add/remove bindings and have ModConfig installed, simply change the configuration item labeled Reload Settings to a different value.

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