GamepadButtons GamepadButtons GamepadButtons GamepadButtons Enum

Definition

Specifies the button type.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class GamepadButtonspublic enum GamepadButtonsPublic Enum GamepadButtons// You can use this enum in JavaScript.
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

A A A A

A button.

B B B B

B button.

DPadDown DPadDown DPadDown DPadDown

D-pad down.

DPadLeft DPadLeft DPadLeft DPadLeft

D-pad left.

DPadRight DPadRight DPadRight DPadRight

D-pad right.

DPadUp DPadUp DPadUp DPadUp

D-pad up.

LeftShoulder LeftShoulder LeftShoulder LeftShoulder

Left bumper.

LeftThumbstick LeftThumbstick LeftThumbstick LeftThumbstick

Left stick.

Menu Menu Menu Menu

Menu button.

None None None None

No button.

Paddle1 Paddle1 Paddle1 Paddle1

The first paddle.

Paddle2 Paddle2 Paddle2 Paddle2

The second paddle.

Paddle3 Paddle3 Paddle3 Paddle3

The third paddle.

Paddle4 Paddle4 Paddle4 Paddle4

The fourth paddle.

RightShoulder RightShoulder RightShoulder RightShoulder

Right bumper.

RightThumbstick RightThumbstick RightThumbstick RightThumbstick

Right stick.

View View View View

View button.

X X X X

X button.

Y Y Y Y

Y button.