ArcadeStickButtons 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public enum class ArcadeStickButtons
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class ArcadeStickButtons
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum ArcadeStickButtons
var value = Windows.Gaming.Input.ArcadeStickButtons.none
Public Enum ArcadeStickButtons
- 继承
-
ArcadeStickButtons
- 属性
Windows 要求
| 设备系列 |
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
|
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Action1 | 16 | 第一个操作按钮。 |
| Action2 | 32 | 第二个操作按钮。 |
| Action3 | 64 | 第三个操作按钮。 |
| Action4 | 128 | 第四个操作按钮。 |
| Action5 | 256 | 第五个操作按钮。 |
| Action6 | 512 | 第六个操作按钮。 |
| None | 0 | 无按钮。 |
| Special1 | 1024 | 第一个特殊按钮。 |
| Special2 | 2048 | 第二个特殊按钮。 |
| StickDown | 2 | 棍子被按下。 |
| StickLeft | 4 | 摇杆向左按下。 |
| StickRight | 8 | 摇杆向右按下。 |
| StickUp | 1 | 棍子被压上去。 |