Chroma:getWidth

From GiderosMobile
Revision as of 13:50, 27 June 2020 by Anthony (talk | contribs) (Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2020.6<br/> '''<translate>Class</translate>:''' chroma<br/> === <tr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2020.6
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.