Method GetGamepadKeyCode
| Edit this page View SourceGetGamepadKeyCode(GamepadButton)
Translates a InputManager.GamepadButton to its KeyCode value
Declaration
public static KeyCode GetGamepadKeyCode(InputManager.GamepadButton @enum)
Parameters
| Type | Name | Description |
|---|---|---|
| InputManager.GamepadButton | enum |
Returns
| Type | Description |
|---|---|
| KeyCode |