UNPKG

@blackmagic-controller/core

Version:

An npm module for interfacing with the Blackmagic usb/bluetooth controllers

28 lines 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEVICE_MODELS = exports.DEVICE_MODELS2 = exports.VENDOR_ID = exports.BlackmagicControllerProxy = void 0; const tslib_1 = require("tslib"); const id_js_1 = require("./id.js"); const atem_micro_panel_js_1 = require("./models/atem-micro-panel.js"); const authenticate_js_1 = require("./authenticate.js"); tslib_1.__exportStar(require("./types.js"), exports); tslib_1.__exportStar(require("./id.js"), exports); tslib_1.__exportStar(require("./controlDefinition.js"), exports); var proxy_js_1 = require("./proxy.js"); Object.defineProperty(exports, "BlackmagicControllerProxy", { enumerable: true, get: function () { return proxy_js_1.BlackmagicControllerProxy; } }); /** Blackmagic vendor id */ exports.VENDOR_ID = 0x1edb; /** List of all the known models, and the classes to use them */ exports.DEVICE_MODELS2 = { [id_js_1.DeviceModelId.AtemMicroPanel]: { productIds: [0xbef0], factory: atem_micro_panel_js_1.AtemMicroPanelFactory, authenticate: async (device) => (0, authenticate_js_1.authenticate)(device, 5), }, }; /** @deprecated maybe? */ exports.DEVICE_MODELS = Object.entries(exports.DEVICE_MODELS2).map(([id, spec]) => ({ id: id, ...spec, })); //# sourceMappingURL=index.js.map