GamepadButtons 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 GamepadButtons
enum class winrt::Windows::Gaming::Input::GamepadButtons : uint32_t
public enum GamepadButtons
Public Enum GamepadButtons
var value = Windows.Gaming.Input.GamepadButtons.a;
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 4

A button.

B B B B B 8

B button.

DPadDown DPadDown DPadDown DPadDown DPadDown 128

D-pad down.

DPadLeft DPadLeft DPadLeft DPadLeft DPadLeft 256

D-pad left.

DPadRight DPadRight DPadRight DPadRight DPadRight 512

D-pad right.

DPadUp DPadUp DPadUp DPadUp DPadUp 64

D-pad up.

LeftShoulder LeftShoulder LeftShoulder LeftShoulder LeftShoulder 1024

Left bumper.

LeftThumbstick LeftThumbstick LeftThumbstick LeftThumbstick LeftThumbstick 4096

Left stick.

Menu Menu Menu Menu Menu 1

Menu button.

None None None None None 0

No button.

Paddle1 Paddle1 Paddle1 Paddle1 Paddle1 16384

The first paddle.

Paddle2 Paddle2 Paddle2 Paddle2 Paddle2 32768

The second paddle.

Paddle3 Paddle3 Paddle3 Paddle3 Paddle3 65536

The third paddle.

Paddle4 Paddle4 Paddle4 Paddle4 Paddle4 131072

The fourth paddle.

RightShoulder RightShoulder RightShoulder RightShoulder RightShoulder 2048

Right bumper.

RightThumbstick RightThumbstick RightThumbstick RightThumbstick RightThumbstick 8192

Right stick.

View View View View View 2

View button.

X X X X X 16

X button.

Y Y Y Y Y 32

Y button.