InputAPI Fixed
Unofficial fix of InputAPI for the current (Unity 6) Content Warning: modded keybinds (e.g. Push) work again.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.
