Class GameControllerUtils
Provides some useful functions relating to game controllers
public static class GameControllerUtils
- Inheritance
-
GameControllerUtils
Methods
ButtonsToDirection(GamePadButton)
Converts the pad buttons of a GamePadButton to a Direction
public static Direction ButtonsToDirection(GamePadButton padDirection)
Parameters
padDirection
GamePadButton
Returns
DirectionToButtons(Direction)
Converts a Direction to a combination of GamePadButton's
public static GamePadButton DirectionToButtons(Direction direction)
Parameters
direction
Direction