remote_send

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(w io.Writer) *Handler

func (Handler) SendAbsoluteCursor

func (h Handler) SendAbsoluteCursor(x, y int32)

func (Handler) SendExit added in v0.1.0

func (h Handler) SendExit()

func (Handler) SendInput

func (h Handler) SendInput(eventType keymap.EV_TYPE, keyValue uint32, state InputType)

func (Handler) SendRelativeCursor

func (h Handler) SendRelativeCursor(x, y int32)

type InputType

type InputType uint32
const (
	KeyDown InputType = iota
	KeyUp
)

type MouseMoveType

type MouseMoveType uint32
const (
	MouseMoveTypeRelative MouseMoveType = iota
	MouseMoveTypeAbsolute
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL