Difference between revisions of "Chroma:getHeight"

From GiderosMobile
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2020.7<br/>
'''<translate>Available since</translate>:''' Gideros 2020.7<br/>
+
'''Class:''' [[chroma]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/chroma|chroma]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns the number of LED rows, zero if none (or single type LED row).</translate>
+
Returns the number of LED rows, zero if none (or single type LED row).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Chroma:getHeight(device)
 
(number) = Chroma:getHeight(device)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''device''': (text) <translate>Name of the device, eg keyboard, mouse.</translate><br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''device''': (text) name of the device, eg keyboard, mouse<br/>
'''<translate>Returns</translate>''' (number) <translate>Number of rows, zero if none (or single type LED row).</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (number) number of rows, zero if none (or single type LED row)<br/>
  
 
{{Chroma}}
 
{{Chroma}}

Latest revision as of 21:52, 6 November 2024

Available since: Gideros 2020.7
Class: chroma

Description

Returns the number of LED rows, zero if none (or single type LED row).

(number) = Chroma:getHeight(device)

Parameters

device: (text) name of the device, eg keyboard, mouse

Return values

Returns (number) number of rows, zero if none (or single type LED row)