Difference between revisions of "Chroma:getHeight"
From GiderosMobile
m (Anthony moved page Chroma.getHeight to Chroma:getHeight without leaving a redirect) |
|||
Line 6: | Line 6: | ||
<translate>Returns the number of LED rows, zero if none (or single type LED row).</translate> | <translate>Returns the number of LED rows, zero if none (or single type LED row).</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) = | + | (number) = Chroma:getHeight(device) |
</source> | </source> | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === |
Revision as of 14:22, 27 June 2020
Available since: Gideros 2020.6
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).