little men sliding around

This commit is contained in:
2026-08-22 02:16:36 +08:00
parent 7bb95dc437
commit 62993c977e
4 changed files with 55 additions and 3 deletions
+9 -1
View File
@@ -84,7 +84,15 @@ export type ConnectionState = "connecting" | "connected" | "disconnected"
export type ConnectionStatus = { remoteId: string; address: string; name: string | null; state: ConnectionState }
export type CursorPosition = { x: number; y: number }
export type CursorPositionChanged = { positions: Partial<{ [key in string]: CursorPositions }> }
export type CursorPositions = { raw: CursorPosition; mapped: CursorPosition }
export type CursorPositions = {
/**
* Absolute cursor coordinates in physical pixels.
*/
raw: CursorPosition;
/**
* Cursor coordinates normalized to the source monitor for scale-independent projection.
*/
mapped: CursorPosition }
export type ForegroundAppChanged = { meta: AppMeta }
export type FriendForegroundAppChanged = { friendId: string; meta: AppMeta }
export type FriendsChanged = { friends: User[] }