/********************************************************************* * Outputs *********************************************************************/ void HID::openOutput(quint32 output) { HIDDevice* dev = device(output); if (dev != NULL) dev->openOutput(); else qDebug() << name() << "has no output number:" << output; }
/********************************************************************* * Outputs *********************************************************************/ bool HIDPlugin::openOutput(quint32 output, quint32 universe) { HIDDevice* dev = deviceOutput(output); if (dev != NULL) { addToMap(universe, output, Output); return dev->openOutput(); } else qDebug() << name() << "has no output number:" << output; return false; }