mouse

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cursor

func Cursor() (int, int)

func EventQueue

func EventQueue() chan Packet

func Init

func Init()

func LeftClick

func LeftClick() bool

func RightClick

func RightClick() bool

Types

type Packet

type Packet struct {
	X, Y        int
	Left, Right bool
}

Jump to

Keyboard shortcuts

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