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