Documentation ¶
Index ¶
- Constants
- func DebugEvent(l *logrus.Entry, source string, isKey bool, name string, x, y uint16, ...)
- func DebugX11Event(l *logrus.Entry, source string, state uint16, keycode xproto.Keycode, ...)
- func StringInSlice(s string, slice []string) bool
- type Config
- type EventDef
- type Input
- type MockRemote
- type Remote
- type Screen
- type VncRemote
- func (r *VncRemote) Connect(cname string, timeout time.Duration) error
- func (r *VncRemote) Disconnect() error
- func (r *VncRemote) IsConnected() bool
- func (r *VncRemote) Screen() Screen
- func (r *VncRemote) SendKeyEvent(name string, key uint32, isPress bool) error
- func (r *VncRemote) SendPointerEvent(name string, button uint8, x, y uint16, isPress bool) error
- type WindowSystem
- type X11Input
Constants ¶
View Source
const ( X11WindowSystem = iota LoggerFieldRemote = "remote" LoggerFieldInput = "input" LoggerFieldSource = "source" LoggerFieldEvent = "event" LoggerFieldEventKey = "key" LoggerFieldEventButton = "button" LoggerFieldName = "name" LoggerFieldEventIsPress = "isPress" LoggerFieldEventCoords = "coords" LoggerFieldEventX11 = "x11" )
Variables ¶
This section is empty.
Functions ¶
func DebugEvent ¶
func DebugX11Event ¶
func StringInSlice ¶
Types ¶
type MockRemote ¶
type MockRemote struct {
// contains filtered or unexported fields
}
func NewMockRemote ¶
func NewMockRemote(l *logrus.Entry) *MockRemote
func (MockRemote) ScreenH ¶
func (r MockRemote) ScreenH() uint16
func (MockRemote) ScreenW ¶
func (r MockRemote) ScreenW() uint16
func (MockRemote) SendKeyEvent ¶
func (r MockRemote) SendKeyEvent(name string, key uint32, isPress bool) error
func (MockRemote) SendPointerEvent ¶
type VncRemote ¶
type VncRemote struct {
// contains filtered or unexported fields
}
func (*VncRemote) Disconnect ¶
func (*VncRemote) IsConnected ¶
func (*VncRemote) SendKeyEvent ¶
type WindowSystem ¶
type WindowSystem uint8
type X11Input ¶
type X11Input struct {
// contains filtered or unexported fields
}
func NewX11Input ¶
Click to show internal directories.
Click to hide internal directories.