add cursor changing (WIP).

This commit is contained in:
Miroslav Šedivý
2021-01-09 23:28:56 +01:00
parent 980b3217f8
commit 94186f3ef6
4 changed files with 34 additions and 11 deletions

View File

@ -35,6 +35,7 @@ export interface Video {
/////////////////////////////
export interface Control {
scroll: Scroll
cursor: Cursor | null
clipboard: Clipboard | null
host_id: string | null
implicit_hosting: boolean
@ -45,6 +46,12 @@ export interface Scroll {
sensitivity: number
}
export interface Cursor {
uri: string
hot_x: number
hot_y: number
}
export interface Clipboard {
text: string
}