controls

Top  Previous  Next

Get a list of controls owned by a device.

Definition

controls = deviceManager.controls( deviceId )

Name

Type

Description

controls

table

table of control objects indexed by control id.

deviceId

number

Id of the device that owns the controls.

Example

controls = deviceManager.controls( 1 )

for id, control in pairs(controls) do

 print(id, control.name)

end

 

Related

Control Object

Availability

Lua