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 引進)
|
欄位
| 名稱 | 值 | Description |
|---|---|---|
| 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 | 搖桿已按下。 |