Difference between revisions of "love.joystick.getNumButtons"

m (1 revision: Importing from potato (again).)
m
Line 1: Line 1:
 
 
Returns the number of buttons on the joystick.
 
Returns the number of buttons on the joystick.
 
== Function ==
 
== Function ==
Line 14: 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.}}
 +
== Other Languages ==
 +
{{i18n|love.joystick.getNumButtons}}

Revision as of 20:42, 18 November 2010

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