@yume-chan/scrcpy
Version:
TypeScript implementation of Scrcpy client.
12 lines (9 loc) • 341 B
text/typescript
import type { StructInit } from "@yume-chan/struct";
import { string, struct, u32, u8 } from "@yume-chan/struct";
export const ScrcpyInjectTextControlMessage = struct(
{ type: u8, text: string(u32) },
{ littleEndian: false },
);
export type ScrcpyInjectTextControlMessage = StructInit<
typeof ScrcpyInjectTextControlMessage
>;