Difference between revisions of "Joystick:getButtonCount"

m ('Returns' -> 'Gets')
m
 
Line 9: Line 9:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|buttons|The number of buttons available}}
+
{{param|number|buttons|The number of buttons available.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Joystick]]
 
* [[parent::Joystick]]

Latest revision as of 10:37, 12 September 2013

Available since LÖVE 0.9.0
It has been moved from love.joystick.getNumButtons.

Gets the number of buttons on the joystick.

Function

Synopsis

buttons = Joystick:getButtonCount( )

Arguments

None.

Returns

number buttons
The number of buttons available.

See Also

Other Languages