Versions in this module Expand all Collapse all v0 v0.1.0 Aug 27, 2026 Changes in this version + var ErrNoDisplay = errors.New("pointer: no such display") + var ErrUnsupported = errors.New("pointer: unsupported on this platform (darwin only)") + func Displays() ([]uint32, error) + func MoveTo(Point) error — js/wasm, linux/amd64, windows/amd64 + func MoveTo(p Point) error — darwin/amd64 + func MoveToDisplay(display uint32) error — darwin/amd64 + func MoveToDisplay(uint32) error — js/wasm, linux/amd64, windows/amd64 + type Point struct + X float64 + Y float64 + func Position() (Point, error) + func (p Point) In(r Rect) bool + type Rect struct + H float64 + W float64 + X float64 + Y float64 + func Bounds(display uint32) (Rect, error) + func Bounds(uint32) (Rect, error) + func (r Rect) Centre() Point + func (r Rect) Empty() bool