![]() |
![]()
| ![]() |
![]()
NAMEcontroller_leds - Query or rescan for LED controllers SYNOPSIS[nleds, variable, rgb] or [nctrls, low32, high32]
ctrlid ) DESCRIPTIONIf ctrlid is set, the values for the specified controller are returned. The id of a controller can be retrieved as part of the _input event handler on status == "added" events either directly on devkind == "led" or for some other devices through the devref field. _display_state events may also provide a ledctrl,ledind. If ctrlid is not set or set to -1, a rescan will be queued that might generate additional device status events. It also returns the number of active controllers and two bitmasks (capped to 64 controllers) EXAMPLEfunction controller_leds0()
|