GameControllerSwitchKind Enum
Definition
The type of switch on the game controller.
public enum class GameControllerSwitchKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum GameControllerSwitchKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum GameControllerSwitchKind
var value = Windows.Gaming.Input.GameControllerSwitchKind.twoWay
Public Enum GameControllerSwitchKind
- Inheritance
-
GameControllerSwitchKind
- Attributes
Windows 10 requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Fields
EightWay | 2 | An eight-way switch, which has all positions in the GameControllerSwitchPosition enumeration. |
FourWay | 1 | A four-way switch, which has Up, Down, Left, Right, and Center positions. |
TwoWay | 0 | A two-way switch, which has Up, Down, and Center positions. |