GamepadButton

Available since LÖVE 0.9.0
This enum is not supported in earlier versions.

Virtual gamepad buttons.

Constants

a
A (bottom) face button.
b
B (right) face button.
x
X (left) face button.
y
Y (top) face button.
back
Back button.
guide
Guide button.
start
Start button.
leftstick
Left stick click button.
rightstick
Right stick click button.
leftshoulder
Left shoulder button.
rightshoulder
Right shoulder button.
dpup
D-pad up.
dpdown
D-pad down.
dpleft
D-pad left.

dpright: D-pad right.

See Also

Other Languages