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

Center 0

The center position.

Down 5

The bottom position.

DownLeft 6

The bottom left position.

DownRight 4

The bottom right position.

Left 7

The left position.

Right 3

The right position.

Up 1

The top position.

UpLeft 8

The top-left position.

UpRight 2

The top-right position.

Applies to