Added support for Streamdeck Pedal and updated UI to better fit the Packed UI style

This commit is contained in:
2026-02-27 22:47:08 +01:00
committed by erik
parent 5a70f775f1
commit 93faae5cc8
1463 changed files with 306917 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import type { EventEmitter } from 'eventemitter3';
export interface HIDDeviceEvents {
error: [data: any];
input: [keys: Uint8Array];
}
/**
* The expected interface for a HIDDevice.
* This is to be implemented by any wrapping libraries to translate their platform specific devices into a common and simpler form
*/
export interface HIDDevice extends EventEmitter<HIDDeviceEvents> {
close(): Promise<void>;
sendFeatureReport(data: Uint8Array): Promise<void>;
getFeatureReport(reportId: number, reportLength: number): Promise<Uint8Array>;
sendReports(buffers: Uint8Array[]): Promise<void>;
getDeviceInfo(): Promise<HIDDeviceInfo>;
getChildDeviceInfo(): Promise<ChildHIDDeviceInfo | null>;
}
export interface HIDDeviceInfo {
readonly path: string | undefined;
readonly productId: number;
readonly vendorId: number;
}
export interface ChildHIDDeviceInfo extends HIDDeviceInfo {
readonly serialNumber: string;
readonly tcpPort: number;
}
//# sourceMappingURL=hid-device.d.ts.map