Share via


GameControllerSwitchPosition Enum

Definition

The position of the game controller's switch.

public enum class GameControllerSwitchPosition
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class GameControllerSwitchPosition
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum GameControllerSwitchPosition
var value = Windows.Gaming.Input.GameControllerSwitchPosition.center
Public Enum GameControllerSwitchPosition
Inheritance
GameControllerSwitchPosition
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Center 0

The center position.

Up 1

The top position.

UpRight 2

The top-right position.

Right 3

The right position.

DownRight 4

The bottom right position.

Down 5

The bottom position.

DownLeft 6

The bottom left position.

Left 7

The left position.

UpLeft 8

The top-left position.

Applies to