@blackmagic-controller/core
Version:
An npm module for interfacing with the Blackmagic usb/bluetooth controllers
21 lines • 768 B
TypeScript
import type { KeyId } from './id.js';
export interface BlackmagicControllerControlDefinitionBase {
type: 'button' | 'tbar';
row: number;
column: number;
}
export interface BlackmagicControllerButtonControlDefinition extends BlackmagicControllerControlDefinitionBase {
type: 'button';
id: KeyId;
encodedIndex: number;
feedbackType: 'rgb';
}
export interface BlackmagicControllerTBarControlDefinition extends BlackmagicControllerControlDefinitionBase {
type: 'tbar';
id: 0;
columnSpan: number;
rowSpan: number;
ledSegments: number;
}
export type BlackmagicControllerControlDefinition = BlackmagicControllerButtonControlDefinition | BlackmagicControllerTBarControlDefinition;
//# sourceMappingURL=controlDefinition.d.ts.map