UNPKG

@blackmagic-controller/core

Version:

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

18 lines 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.freezeDefinitions = freezeDefinitions; exports.createRgbButtonDefinition = createRgbButtonDefinition; function freezeDefinitions(controls) { return Object.freeze(controls.map((control) => Object.freeze(control))); } function createRgbButtonDefinition(row, column, id, encodedIndex) { return { type: 'button', row, column, id, encodedIndex, feedbackType: 'rgb', }; } //# sourceMappingURL=controlsGenerator.js.map