Show / Hide Table of Contents

Method GetGamepadButton

| Edit this page View Source

GetGamepadButton(GamepadInput)

Translates an axis string to its InputManager.GamepadButton value
Declaration
public static InputManager.GamepadButton GetGamepadButton(GamepadInput input)
Parameters
Type Name Description
GamepadInput input
Returns
Type Description
InputManager.GamepadButton
| Edit this page View Source

GetGamepadButton(string)

Translate an axis string to its InputManager.GamepadButton value
Declaration
public static InputManager.GamepadButton GetGamepadButton(string axis)
Parameters
Type Name Description
string axis
Returns
Type Description
InputManager.GamepadButton
| Edit this page View Source

GetGamepadButton(KeyCode)

Translate a KeyCode to its InputManager.GamepadButton value
Declaration
public static InputManager.GamepadButton GetGamepadButton(KeyCode key)
Parameters
Type Name Description
KeyCode key
Returns
Type Description
InputManager.GamepadButton
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾