HardwareControl vs HardwareButton

Post Reply New Topic
RELATED
PRODUCTS

Post

Just starting in to the hardware API after doing some JavaScript to get familiar with the basics. To start I’m working with a LaunchControl XL. It has hardware elements (buttons and knobs) that have multi-Color LEDs.

In cases like this, is it better to instantiate hardware elements as a HardwareControl? Or should I start with separate elements like HardwareButton and the various types of lights?

Post

HardwareButton is a sub-class of HardwareControl. HardwareControl cannot be instantiated.

Post Reply

Return to “Controller Scripting”