Programming with LED Controls

Use SetCtrlVal to set the state of an LED.

Use GetCtrlVal to obtain the state of an LED.

To change the colors displayed by the LED in its off and on states, use SetCtrlAttribute with the ATTR_ON_COLOR and ATTR_OFF_COLOR attributes.