relativepointer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZwpRelativePointerManagerV1Interface = &wire.Interface{
	Name:    "zwp_relative_pointer_manager_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "get_relative_pointer", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_relative_pointer_v1"}, {Name: "pointer", Type: wire.ArgObject, Interface: "wl_pointer"}}},
	},
}
View Source
var ZwpRelativePointerV1Interface = &wire.Interface{
	Name:    "zwp_relative_pointer_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
	},
	Events: []wire.MessageSpec{
		{Name: "relative_motion", Since: 1, Args: []wire.Arg{{Name: "utime_hi", Type: wire.ArgUint}, {Name: "utime_lo", Type: wire.ArgUint}, {Name: "dx", Type: wire.ArgFixed}, {Name: "dy", Type: wire.ArgFixed}, {Name: "dx_unaccel", Type: wire.ArgFixed}, {Name: "dy_unaccel", Type: wire.ArgFixed}}},
	},
}

Functions

This section is empty.

Types

type ZwpRelativePointerManagerV1

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

func (*ZwpRelativePointerManagerV1) Base

func (*ZwpRelativePointerManagerV1) Dispatch

func (obj *ZwpRelativePointerManagerV1) Dispatch(msg *wire.Message) error

func (*ZwpRelativePointerManagerV1) Handler

type ZwpRelativePointerManagerV1Handler

type ZwpRelativePointerManagerV1Handler interface {
	Destroy(obj *ZwpRelativePointerManagerV1) error
	GetRelativePointer(obj *ZwpRelativePointerManagerV1, id *ZwpRelativePointerV1, pointer *wayland.WlPointer) (ZwpRelativePointerV1Handler, error)
}

type ZwpRelativePointerV1

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

func CreateZwpRelativePointerV1

func CreateZwpRelativePointerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpRelativePointerV1) (ZwpRelativePointerV1Handler, error)) (*ZwpRelativePointerV1, error)

func (*ZwpRelativePointerV1) Base

func (obj *ZwpRelativePointerV1) Base() *wire.Object

func (*ZwpRelativePointerV1) Dispatch

func (obj *ZwpRelativePointerV1) Dispatch(msg *wire.Message) error

func (*ZwpRelativePointerV1) Handler

func (*ZwpRelativePointerV1) SendRelativeMotion

func (obj *ZwpRelativePointerV1) SendRelativeMotion(utimeHi uint32, utimeLo uint32, dx wire.Fixed, dy wire.Fixed, dxUnaccel wire.Fixed, dyUnaccel wire.Fixed) error

type ZwpRelativePointerV1Handler

type ZwpRelativePointerV1Handler interface {
	Destroy(obj *ZwpRelativePointerV1) error
}

Jump to

Keyboard shortcuts

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