Difference between revisions of "love.joystick.isOpen"

m (Added since 0.5.0)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{oldin|[[0.8.1]]|081|type=function}}
+
{{newinoldin|[[0.5.0]]|050|[[0.9.0]]|090|type=function}}
 
Checks if the joystick is open.
 
Checks if the joystick is open.
 
== Function ==
 
== Function ==

Latest revision as of 09:15, 28 December 2019

Available since LÖVE 0.5.0 and removed in LÖVE 0.9.0
This function is not supported in earlier or later versions.

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


Other Languages