mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
remove duplicate API endpoints.
This commit is contained in:
parent
eeb82c09b3
commit
67d0c7eb78
@ -221,31 +221,6 @@
|
|||||||
Vue.set(this.state.control.scroll, 'sensitivity', value)
|
Vue.set(this.state.control.scroll, 'sensitivity', value)
|
||||||
}
|
}
|
||||||
|
|
||||||
public setClipboardData(text: string) {
|
|
||||||
const clipboardData = { text }
|
|
||||||
this.api.room.clipboardWrite({ clipboardData })
|
|
||||||
}
|
|
||||||
|
|
||||||
public requestControl() {
|
|
||||||
this.api.room.controlRequest()
|
|
||||||
}
|
|
||||||
|
|
||||||
public releaseControl() {
|
|
||||||
this.api.room.controlRelease()
|
|
||||||
}
|
|
||||||
|
|
||||||
public takeControl() {
|
|
||||||
this.api.room.controlTake()
|
|
||||||
}
|
|
||||||
|
|
||||||
public giveControl(memberId: string) {
|
|
||||||
this.api.room.controlGive({ memberId })
|
|
||||||
}
|
|
||||||
|
|
||||||
public resetControl() {
|
|
||||||
this.api.room.controlReset()
|
|
||||||
}
|
|
||||||
|
|
||||||
public setScreenSize(width: number, height: number, rate: number) {
|
public setScreenSize(width: number, height: number, rate: number) {
|
||||||
//this.api.room.screenConfigurationChange({ screenConfiguration: { width, height, rate } })
|
//this.api.room.screenConfigurationChange({ screenConfiguration: { width, height, rate } })
|
||||||
this.websocket.send('screen/set', { width, height, rate })
|
this.websocket.send('screen/set', { width, height, rate })
|
||||||
|
Loading…
Reference in New Issue
Block a user