After including resource://{main}/sdk/devices.js, the Devices.JS namespace provides device and port constants.
include_file("resource://{main}/sdk/devices.js");
| Constant |
Description |
Devices.JS.kInputPort |
Input port type |
Devices.JS.kOutputPort |
Output port type |
Devices.JS.kMainPort |
Main port type |
Devices.JS.kSidechainPort |
Sidechain port type |
Devices.JS.kExtendPortMenu |
Extend port menu flag |
| Object |
Description |
Devices.JS.MixerConsole |
Mixer console reference |
Devices.JS.ChannelEditorType |
Channel editor type |