mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
introduced ImplicitHosting.
This commit is contained in:
parent
8bfe0c4f67
commit
2a6a65144c
@ -9,7 +9,7 @@
|
|||||||
:isControling="controlling"
|
:isControling="controlling"
|
||||||
:scrollSensitivity="state.control.scroll.sensitivity"
|
:scrollSensitivity="state.control.scroll.sensitivity"
|
||||||
:scrollInvert="state.control.scroll.inverse"
|
:scrollInvert="state.control.scroll.inverse"
|
||||||
:implicitControl="true"
|
:implicitControl="state.control.implicit_hosting"
|
||||||
@implicit-control-request="websocket.send('control/request')"
|
@implicit-control-request="websocket.send('control/request')"
|
||||||
@implicit-control-release="websocket.send('control/release')"
|
@implicit-control-release="websocket.send('control/release')"
|
||||||
/>
|
/>
|
||||||
@ -98,6 +98,7 @@
|
|||||||
},
|
},
|
||||||
clipboard: null,
|
clipboard: null,
|
||||||
host_id: null,
|
host_id: null,
|
||||||
|
implicit_hosting: false,
|
||||||
},
|
},
|
||||||
screen: {
|
screen: {
|
||||||
size: {
|
size: {
|
||||||
|
@ -13,6 +13,7 @@ export interface SystemInit {
|
|||||||
control_host: ControlHost
|
control_host: ControlHost
|
||||||
screen_size: ScreenSize
|
screen_size: ScreenSize
|
||||||
members: Record<string, MemberData>
|
members: Record<string, MemberData>
|
||||||
|
implicit_hosting: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SystemAdmin {
|
export interface SystemAdmin {
|
||||||
|
@ -37,6 +37,7 @@ export interface Control {
|
|||||||
scroll: Scroll
|
scroll: Scroll
|
||||||
clipboard: Clipboard | null
|
clipboard: Clipboard | null
|
||||||
host_id: string | null
|
host_id: string | null
|
||||||
|
implicit_hosting: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Scroll {
|
export interface Scroll {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user