@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
55 lines • 1.48 kB
TypeScript
/**
* @summary Descriptions of HID feature reports for BlinkStick devices.
* @remarks Based on https://github.com/subzey/blinkstick-webhid
* @category Constants
* @enum
*/
export declare const FeatureReportDescription: {
readonly SetFirst: {
readonly reportId: 1;
readonly bufferLength: 3;
};
readonly InfoBlock1: {
readonly reportId: 2;
readonly bufferLength: 32;
};
readonly InfoBlock2: {
readonly reportId: 3;
readonly bufferLength: 32;
};
readonly SetMode: {
readonly reportId: 4;
readonly bufferLength: 1;
};
readonly SetArbitraryPixel: {
readonly reportId: 5;
readonly bufferLength: 5;
};
readonly Set8Pixels: {
readonly reportId: 6;
readonly bufferLength: 25;
};
readonly Set16Pixels: {
readonly reportId: 7;
readonly bufferLength: 49;
};
readonly Set32Pixels: {
readonly reportId: 8;
readonly bufferLength: 97;
};
readonly Set64Pixels: {
readonly reportId: 9;
readonly bufferLength: 193;
};
};
/**
* @category Constants
* @enum
*/
export declare const FeatureReportId: { [key in keyof typeof FeatureReportDescription]: (typeof FeatureReportDescription)[key]["reportId"]; };
/**
* @category Constants
* @internal
*/
export type FeatureReportId = (typeof FeatureReportId)[keyof typeof FeatureReportId];
//# sourceMappingURL=feature-report.d.ts.map