Skip to main content

Enum GamepadButtons

Bitmask of the Button ushort used by the game.

Assembly: Dalamud.dll
View Source
Declaration
[Flags]
public enum GamepadButtons : ushort

Fields

None

No buttons pressed.

View Source
Declaration
None = 0

DpadUp

Digipad up.

View Source
Declaration
DpadUp = 1

DpadDown

Digipad down.

View Source
Declaration
DpadDown = 2

DpadLeft

Digipad left.

View Source
Declaration
DpadLeft = 4

DpadRight

Digipad right.

View Source
Declaration
DpadRight = 8

North

North action button. Triangle on PS, Y on Xbox.

View Source
Declaration
North = 16

South

South action button. Cross on PS, A on Xbox.

View Source
Declaration
South = 32

West

West action button. Square on PS, X on Xbos.

View Source
Declaration
West = 64

East

East action button. Circle on PS, B on Xbox.

View Source
Declaration
East = 128

L1

First button on left shoulder side.

View Source
Declaration
L1 = 256

L2

Second button on left shoulder side. Analog input lost in this bitmask.

View Source
Declaration
L2 = 512

L3

Press on left analogue stick.

View Source
Declaration
L3 = 1024

R1

First button on right shoulder.

View Source
Declaration
R1 = 2048

R2

Second button on right shoulder. Analog input lost in this bitmask.

View Source
Declaration
R2 = 4096

R3

Press on right analogue stick.

View Source
Declaration
R3 = 8192

Start

Button on the right inner side of the controller. Options on PS, Start on Xbox.

View Source
Declaration
Start = 32768

Select

Button on the left inner side of the controller. ??? on PS, Back on Xbox.

View Source
Declaration
Select = 16384

Extension Methods