Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 spe-
     cific 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  in-
     dex, 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.

iodev				   August 2026			  set_led_rgb(3)

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+15.1.quarterly>

home | help