Class InputManager
Manager for handling custom inputs registered by mods.
Inherited Members
Namespace: Jotunn.Managers
Assembly: Jotunn.dll
Syntax
public class InputManager
Properties
Name | Description |
---|---|
Instance | Singleton instance |
Methods
Name | Description |
---|---|
AddButton(string, ButtonConfig) | Add a Button to Valheim |
GetAxisPath(string) | Translate an axis string to its UnityEngine.InputSystem.InputBinding.path value |
GetGamepadButton(GamepadInput) | Translates an axis string to its InputManager.GamepadButton value |
GetGamepadButton(KeyCode) | Translate a KeyCode to its InputManager.GamepadButton value |
GetGamepadButton(string) | Translate an axis string to its InputManager.GamepadButton value |
GetGamepadInput(GamepadButton) | Translate a InputManager.GamepadButton to its axis string value |
GetGamepadInputPath(GamepadInput) | Translate a GamepadInput to its UnityEngine.InputSystem.InputBinding.path value |
GetGamepadKeyCode(GamepadButton) | Translates a InputManager.GamepadButton to its KeyCode value |
GetGamepadString(GamepadButton) | Translates a InputManager.GamepadButton to its printable string value |