ElfDevelop-InputAPI_Fixed icon

InputAPI Fixed

Unofficial fix of InputAPI for the current (Unity 6) Content Warning: modded keybinds (e.g. Push) work again.

Last updated 5 hours ago
Total downloads 7
Total rating 0 
Categories Mods Tools Misc
Dependency string ElfDevelop-InputAPI_Fixed-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

InputAPI (Fixed)

Fixed by ElfDevelop

Unofficial fix of InputAPI by VisualError (Ryokune). All credit for the mod goes to the original author.

What was fixed (1.0.2)

  • The SettingsHandler constructor transpiler matched IL that no longer exists and produced invalid IL. That also broke every other mod patching the same constructor (DB's Content API, Kill_Button, RagdollAnywhere). Replaced with a postfix that registers keybinds through AddSetting.
  • Inputs marked [ContentWarningSetting] are created by the game itself; a second instance of the same type is no longer added, so keys do not fire twice or show twice in the menu.
  • Keys bind to their own setting right away instead of waiting for GlobalInputHandler.OnCreated.

Install

  • Use it instead of the original InputAPI (same plugin GUID; if both are installed, BepInEx loads only the newer version).
  • Everyone in the lobby should use the same version.