real cursor shit

This commit is contained in:
KingKDot
2026-07-19 01:22:42 -05:00
parent 06e8a2921e
commit 1a68b5ddf1
17 changed files with 889 additions and 146 deletions
@@ -130,6 +130,20 @@ type Frame struct {
Data []byte `msgpack:"data"`
}
type DesktopCursor struct {
Type string `msgpack:"type"`
X int `msgpack:"x"`
Y int `msgpack:"y"`
Width int `msgpack:"width"`
Height int `msgpack:"height"`
Visible bool `msgpack:"visible"`
CursorWidth int `msgpack:"cursorWidth,omitempty"`
CursorHeight int `msgpack:"cursorHeight,omitempty"`
HotspotX int `msgpack:"hotspotX,omitempty"`
HotspotY int `msgpack:"hotspotY,omitempty"`
Image []byte `msgpack:"image,omitempty"`
}
type DesktopStreamStats struct {
Type string `msgpack:"type"`
FPS int `msgpack:"fps"`