Difference between revisions of "Chroma:getHeight"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2020.7<br/> | |
− | ''' | + | '''Class:''' [[chroma]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Returns the number of LED rows, zero if none (or single type LED row). | |
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = Chroma:getHeight(device) | (number) = Chroma:getHeight(device) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | |
− | '''device''': (text) | + | === Parameters === |
− | === | + | '''device''': (text) name of the device, eg keyboard, mouse<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)