UNPKG

@blackmagic-controller/core

Version:

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

24 lines 1.06 kB
import type { BlackmagicControllerButtonControlDefinition, BlackmagicControllerTBarControlDefinition } from '../../controlDefinition.js'; export interface BlackmagicControllerLedService { setControlColors(values: BlackmagicControllerLedServiceValue[]): Promise<void>; clearPanel(): Promise<void>; } export interface BlackmagicControllerLedServiceValueButtonRgb { type: 'button-rgb'; control: BlackmagicControllerButtonControlDefinition; red: boolean; green: boolean; blue: boolean; } export interface BlackmagicControllerLedServiceValueButtonOnOff { type: 'button-on-off'; control: BlackmagicControllerButtonControlDefinition; on: boolean; } export interface BlackmagicControllerLedServiceValueTBar { type: 'tbar'; control: BlackmagicControllerTBarControlDefinition; leds: boolean[]; } export type BlackmagicControllerLedServiceValue = BlackmagicControllerLedServiceValueButtonRgb | BlackmagicControllerLedServiceValueButtonOnOff | BlackmagicControllerLedServiceValueTBar; //# sourceMappingURL=interface.d.ts.map