GamepadButton

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

Virtual gamepad buttons.

Constants

a
A button.
b
B button.
x
X button.
y
Y 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