mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
28 lines
697 B
Go
28 lines
697 B
Go
package types
|
|
|
|
type RemoteManager interface {
|
|
VideoCodec() string
|
|
AudioCodec() string
|
|
Start()
|
|
Shutdown() error
|
|
OnVideoFrame(listener func(sample Sample))
|
|
OnAudioFrame(listener func(sample Sample))
|
|
StartStream()
|
|
StopStream()
|
|
Streaming() bool
|
|
ChangeResolution(width int, height int, rate int) error
|
|
GetScreenSize() *ScreenSize
|
|
ScreenConfigurations() map[int]ScreenConfiguration
|
|
Move(x, y int)
|
|
Scroll(x, y int)
|
|
ButtonDown(code int) error
|
|
KeyDown(code uint64) error
|
|
ButtonUp(code int) error
|
|
KeyUp(code uint64) error
|
|
ReadClipboard() string
|
|
WriteClipboard(data string)
|
|
ResetKeys()
|
|
SetKeyboardLayout(layout string)
|
|
SetKeyboardModifiers(NumLock int, CapsLock int, ScrollLock int)
|
|
}
|