RacingWheelButtons 列舉

定義

指定賽車方向盤按鈕類型。

此列舉支援其成員值的位元組合。

public enum class RacingWheelButtons
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class RacingWheelButtons
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum RacingWheelButtons
var value = Windows.Gaming.Input.RacingWheelButtons.none
Public Enum RacingWheelButtons
繼承
RacingWheelButtons
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

欄位

Button1 64

按鈕 1。

Button10 32768

按鈕 10。

Button11 65536

按鈕 11。

Button12 131072

按鈕 12。

Button13 262144

按鈕 13。

Button14 524288

按鈕 14。

Button15 1048576

按鈕 15。

Button16 2097152

按鈕 16。

Button2 128

按鈕 2.

Button3 256

按鈕 3.

Button4 512

按鈕 4.

Button5 1024

按鈕 5.

Button6 2048

按鈕 6.

Button7 4096

按鈕 7.

Button8 8192

按鈕 8.

Button9 16384

按鈕 9.

DPadDown 8

向下鍵。

DPadLeft 16

左方 D 鍵。

DPadRight 32

右板。

DPadUp 4

D-pad up。

NextGear 2

齒輪向上移。

None 0

沒有按鈕。

PreviousGear 1

齒輪向下移。

備註

將按鈕指派給 Button# 值可能會從控制器變更為控制器。 它們旨在透過按鈕對應 UI 使用,以根據使用者選擇來指派功能。

適用於