Difference between revisions of "Chroma:getWidth"
From GiderosMobile
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2020.7<br/> | |
− | ''' | + | '''Class:''' [[chroma]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Returns the number of LED columns, zero if none. | |
− | < | + | <syntaxhighlight lang="lua"> |
(number) = Chroma:getWidth(device) | (number) = Chroma:getWidth(device) | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | '''device''': (text) | + | === Parameters === |
− | === | + | '''device''': (text) name of the device, eg keyboard, mouse<br/> |
− | ''' | + | |
+ | === Return values === | ||
+ | '''Returns''' (number) number of columns or zero<br/> | ||
{{Chroma}} | {{Chroma}} |
Latest revision as of 21:55, 6 November 2024
Available since: Gideros 2020.7
Class: chroma
Description
Returns the number of LED columns, zero if none.
(number) = Chroma:getWidth(device)
Parameters
device: (text) name of the device, eg keyboard, mouse
Return values
Returns (number) number of columns or zero