Description
The DpadSouth
field is a member of the GamepadCode
enumeration in the Sandbox namespace. It represents the south direction on a game controller's directional pad (D-pad). This is typically the downward direction on the D-pad, often used for navigation or specific in-game actions.
Usage
Use GamepadCode.DpadSouth
to check if the south direction on the D-pad is being pressed. This can be useful for handling input in games where the D-pad is used for movement or menu navigation.
Example
// Example of checking if the DpadSouth button is pressed
if (Input.IsGamepadButtonDown(GamepadCode.DpadSouth))
{
// Execute action for Dpad South press
MoveCharacterDown();
}