GameControllerSwitchPosition 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
游戏控制器开关的位置。
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
- 继承
-
GameControllerSwitchPosition
- 属性
Windows 要求
| 设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
|
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Center | 0 | 中心位置。 |
| Down | 5 | 底部位置。 |
| DownLeft | 6 | 左下角位置。 |
| DownRight | 4 | 右下角位置。 |
| Left | 7 | 左侧位置。 |
| Right | 3 | 正确的位置。 |
| Up | 1 | 顶部位置。 |
| UpLeft | 8 | 左上角位置。 |
| UpRight | 2 | 右上角位置。 |