GameControllerSwitchKind 列舉

定義

遊戲控制器上的切換類型。

public enum class GameControllerSwitchKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class GameControllerSwitchKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum GameControllerSwitchKind
var value = Windows.Gaming.Input.GameControllerSwitchKind.twoWay
Public Enum GameControllerSwitchKind
繼承
GameControllerSwitchKind
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

欄位

EightWay 2

八向參數,其具有 GameControllerSwitchPosition 列舉中的所有位置。

FourWay 1

四向開關,其 具有向上向下置中 位置。

TwoWay 0

雙向交換器,具有 向上向下中心 位置。

適用於

另請參閱