Dela via


RacingWheelButtons Enum

Definition

Specifies the racing wheel button type.

This enumeration supports a bitwise combination of its member values.

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
Inheritance
RacingWheelButtons
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
None 0

No button.

PreviousGear 1

Gear shifted down.

NextGear 2

Gear shifted up.

DPadUp 4

D-pad up.

DPadDown 8

D-pad down.

DPadLeft 16

D-pad left.

DPadRight 32

D-pad right.

Button1 64

Button 1.

Button2 128

Button 2.

Button3 256

Button 3.

Button4 512

Button 4.

Button5 1024

Button 5.

Button6 2048

Button 6.

Button7 4096

Button 7.

Button8 8192

Button 8.

Button9 16384

Button 9.

Button10 32768

Button 10.

Button11 65536

Button 11.

Button12 131072

Button 12.

Button13 262144

Button 13.

Button14 524288

Button 14.

Button15 1048576

Button 15.

Button16 2097152

Button 16.

Remarks

The assignment of buttons to the Button# values may change from controller to controller. They are intended to be used via a button mapping UI to assign functionality based on the user’s choices.

Applies to