Difference between revisions of "Controller:isAnyAvailable"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
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>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 15:27, 13 July 2023

Available since: Gideros 2014.01
Class: Controller

Description

Returns true if any of controller is connected to device.

(bool) = Controller:isAnyAvailable()

Return values

Returns (bool) if any controller is connected