@blackmagic-controller/node
Version:
An npm module for interfacing with the Blackmagic usb/bluetooth controllers in node
19 lines • 611 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.BlackmagicControllerNode = void 0;
const core_1 = require("@blackmagic-controller/core");
class BlackmagicControllerNode extends core_1.BlackmagicControllerProxy {
clearOnClose;
constructor(device, clearOnClose) {
super(device);
this.clearOnClose = clearOnClose;
}
async close() {
if (this.clearOnClose) {
await this.clearPanel();
}
await super.close();
}
}
exports.BlackmagicControllerNode = BlackmagicControllerNode;
//# sourceMappingURL=wrapper.js.map
;