Difference between revisions of "love.joystick.getNumButtons"

m
Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the number of buttons on the joystick.}}
 
{{#set:Description=Returns the number of buttons on the joystick.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.joystick.getNumButtons}}
 
{{i18n|love.joystick.getNumButtons}}

Revision as of 10:31, 25 March 2011

Returns the number of buttons on the joystick.

Function

Synopsis

buttons = love.joystick.getNumButtons( joystick )

Arguments

number joystick
The joystick to be checked

Returns

number buttons
The number of buttons available

See Also


Other Languages