Difference between revisions of "love.joystick.isOpen"

m (Added since 0.5.0)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
+
{{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 ==
Line 14: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Checks if the joystick is open.}}
 
{{#set:Description=Checks if the joystick is open.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|love.joystick.isOpen}}

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