Chroma:color: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate>This sets all the LED colours very quickly to a specific colour.</translate>
<translate>This sets all the LED colours very quickly to a specific colour.</translate>
<source lang="lua">
<syntaxhighlight lang="lua">
() = Chroma:color(devices,color)
() = Chroma:color(devices,color)
</source>
</source>

Revision as of 13:26, 13 July 2023


Available since: Gideros 2020.7
Class: chroma

Description

This sets all the LED colours very quickly to a specific colour. <syntaxhighlight lang="lua"> () = Chroma:color(devices,color) </source>

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