UNPKG

@elgato-stream-deck/node

Version:

An npm module for interfacing with the Elgato Stream Deck in node

19 lines 589 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StreamDeckNode = void 0; const core_1 = require("@elgato-stream-deck/core"); class StreamDeckNode extends core_1.StreamDeckProxy { resetToLogoOnClose; constructor(device, resetToLogoOnClose) { super(device); this.resetToLogoOnClose = resetToLogoOnClose; } async close() { if (this.resetToLogoOnClose) { await this.resetToLogo(); } await super.close(); } } exports.StreamDeckNode = StreamDeckNode; //# sourceMappingURL=wrapper.js.map