|
|
| |
set_led_rgb(3) |
Arcan Lua API |
set_led_rgb(3) |
set_led_rgb - Set the specific R,G,B values for an individual LED on a
specific controller.
bool
set_led_rgb( controlid, ledid, r, g, b, buffer )
Set the color value of an individual LED on a known LED controller
and returns -1 if the controlid does not exist, if ledid is not
a valid index, if the controlid backed device lacks the r,g,b
capability. A negative ledid will result in the value being set for all
LED s associated with the device. A return of 0 means that the update
failed as it would block the device. This can happen if many LED update
queries are being pushed to a slow device. If the optional boolean
buffer is set, the request may be queued and the queue will not
dispatch until a non-buffered update is called.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |