Difference between revisions of "GamepadButton"

(Created page)
 
m (Tweaked some button descriptions)
Line 2: Line 2:
 
Virtual gamepad buttons.
 
Virtual gamepad buttons.
 
== Constants ==
 
== Constants ==
;a: A button.
+
;a: A (bottom) face button.
;b: B button.
+
;b: B (right) face button.
;x: X button.
+
;x: X (left) face button.
;y: Y button.
+
;y: Y (top) face button.
 
;back: Back button.
 
;back: Back button.
 
;guide: Guide button.
 
;guide: Guide button.

Revision as of 01:32, 27 August 2013

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