FreeBSD Manual Pages
set_led_rgb(3) Arcan Lua API set_led_rgb(3) NAME set_led_rgb - Set the specific R,G,B values for an individual LED on a specific controller. SYNOPSIS bool set_led_rgb( controlid, ledid, r, g, b, buffer ) DESCRIPTION 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 capabil- ity. 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 dis- patch until a non-buffered update is called. iodev April 2025 set_led_rgb(3)
NAME | SYNOPSIS | DESCRIPTION
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=set_led_rgb&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>