Difference between revisions of "love.joystick.isOpen"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Checks if the joystick is open.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.joystick]]
 
* [[parent::love.joystick]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Checks if the joystick is open.}}

Revision as of 16:17, 14 February 2010

Checks if the joystick is open.

Function

Synopsis

open = love.joystick.isOpen( joystick )

Arguments

number joystick
The joystick to be checked

Returns

boolean open
True if the joystick is open, false if it is closed.

See Also