real cursor shit
This commit is contained in:
@@ -9,6 +9,7 @@ export type MessageKind =
|
||||
| "command_result"
|
||||
| "desktop_encoder_capabilities"
|
||||
| "desktop_stream_stats"
|
||||
| "desktop_cursor"
|
||||
| "client_logs_result"
|
||||
| "screenshot_result"
|
||||
| "frame"
|
||||
@@ -224,6 +225,20 @@ export type FrameHeader = {
|
||||
|
||||
export type Frame = { type: "frame"; header: FrameHeader; data: Uint8Array };
|
||||
export type FrameAck = { type: "frame_ack" };
|
||||
export type DesktopCursor = {
|
||||
type: "desktop_cursor";
|
||||
x: number;
|
||||
y: number;
|
||||
width: number;
|
||||
height: number;
|
||||
visible: boolean;
|
||||
cursorWidth?: number;
|
||||
cursorHeight?: number;
|
||||
hotspotX?: number;
|
||||
hotspotY?: number;
|
||||
image?: Uint8Array;
|
||||
};
|
||||
|
||||
export type DesktopStreamStats = {
|
||||
type: "desktop_stream_stats";
|
||||
fps: number;
|
||||
@@ -547,6 +562,7 @@ export type WireMessage =
|
||||
| Frame
|
||||
| FrameAck
|
||||
| DesktopStreamStats
|
||||
| DesktopCursor
|
||||
| Status
|
||||
| ConsoleOutput
|
||||
| FileListResult
|
||||
|
||||
Reference in New Issue
Block a user