Show / Hide Table of Contents

Class InputManager

Manager for handling custom inputs registered by mods.
Inheritance
object
InputManager
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾