Difference between revisions of "Chroma:color"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2020.6<br/> '''<translate>Class</translate>:''' chroma<br/> === <tr...")
 
Line 12: Line 12:
 
'''devices''': (table) <translate>Multiple names of the devices, eg keyboard, mouse.  Nil for all.</translate><br/>
 
'''devices''': (table) <translate>Multiple names of the devices, eg keyboard, mouse.  Nil for all.</translate><br/>
 
'''colour''': (number) <translate>BGR colour value.</translate><br/>
 
'''colour''': (number) <translate>BGR colour value.</translate><br/>
 
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
  
  
 
{{Chroma}}
 
{{Chroma}}

Revision as of 14:39, 27 June 2020


Available since: Gideros 2020.6
Class: chroma

Description

This sets all the LED colours very quickly to a specific colour.

() = Chroma:color(devices,color)

Parameters

devices: (text) Name of the device, eg keyboard, mouse.
devices: (table) Multiple names of the devices, eg keyboard, mouse. Nil for all.
colour: (number) BGR colour value.

Return values