Difference between revisions of "love.joystick.getNumHats"

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

Revision as of 10:31, 25 March 2011

Returns the number of hats on the joystick.

Function

Synopsis

hats = love.joystick.getNumHats( joystick )

Arguments

number joystick
The joystick to be checked

Returns

number hats
How many hats the joystick has

See Also


Other Languages