Table of Contents

Enum GamePadButton

Namespace
Stride.Input
Assembly
Stride.Input.dll

Buttons for gamepad returned by GamePadState.

[Flags]
public enum GamePadButton : ushort

Fields

A = 4096

A button.

B = 8192

B button.

Back = 32

Back button.

LeftShoulder = 256

Left shoulder button.

LeftThumb = 64

Left thumb button.

None = 0

No buttons.

Pad = PadUp | PadDown | PadLeft | PadRight

Any pad button (DPad / Directional Pad)

PadDown = 2

PadDown button. (DPad / Directional Pad)

PadLeft = 4

PadLeft button. (DPad / Directional Pad)

PadRight = 8

PadRight button. (DPad / Directional Pad)

PadUp = 1

PadUp button. (DPad / Directional Pad)

RightShoulder = 512

Right shoulder button.

RightThumb = 128

Right thumb button.

Start = 16

Start button.

X = 16384

X button.

Y = 32768

Y button.