Difference between revisions of "Controller:isAnyAvailable"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns true if any of controller is connected to device.
 
Returns true if any of controller is connected to device.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = Controller:isAnyAvailable()
 
(bool) = Controller:isAnyAvailable()
 
</source>
 
</source>

Revision as of 15:26, 13 July 2023

Available since: Gideros 2014.01
Class: Controller

Description

Returns true if any of controller is connected to device. <syntaxhighlight lang="lua"> (bool) = Controller:isAnyAvailable() </source>

Return values

Returns (bool) if any controller is connected