Skip to main content
Version: 15.x (API 15) [Current]

Enum GamepadButtons

Bitmask of the Button ushort used by the game.

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

Fields​

None​

No buttons pressed.

Declaration
None = 0

DpadUp​

Digipad up.

Declaration
DpadUp = 1

DpadDown​

Digipad down.

Declaration
DpadDown = 2

DpadLeft​

Digipad left.

Declaration
DpadLeft = 4

DpadRight​

Digipad right.

Declaration
DpadRight = 8

North​

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

Declaration
North = 16

South​

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

Declaration
South = 32

West​

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

Declaration
West = 64

East​

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

Declaration
East = 128

L1​

First button on left shoulder side.

Declaration
L1 = 256

L2​

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

Declaration
L2 = 512

L3​

Press on left analogue stick.

Declaration
L3 = 1024

R1​

First button on right shoulder.

Declaration
R1 = 2048

R2​

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

Declaration
R2 = 4096

R3​

Press on right analogue stick.

Declaration
R3 = 8192

Start​

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

Declaration
Start = 32768

Select​

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

Declaration
Select = 16384

Extension Methods​