mouse

package
v0.31.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Mouse *mouse

Functions

func New

func New() *mouse

New returns the USB hid-mouse port. Deprecated, better to just use Port()

func Port added in v0.27.0

func Port() *mouse

Port returns the USB hid-mouse port.

Types

type Button

type Button byte
const (
	Left Button = 1 << iota
	Right
	Middle
	Back
	Forward
)

Jump to

Keyboard shortcuts

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