GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.

June 2022 iodev

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.