libinput

package
v0.0.0-...-53b591f Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Event_None EventType = 0

	Event_DeviceAdded   = 1
	Event_DeviceRemoved = 2

	Event_KeyboardKey = 300

	Event_PointerMotion         = 400
	Event_PointerMotionAbsolute = 401
	Event_PointerButton         = 402
	Event_PointerAxis           = 403

	Event_TouchDown   = 500
	Event_TouchUp     = 501
	Event_TouchMotion = 502
	Event_TouchCancel = 503
	Event_TouchFrame  = 504

	Event_TabletToolAxis      = 600
	Event_TabletToolProximity = 601
	Event_TabletToolTip       = 602
	Event_TabletToolButton    = 603

	Event_TabletPadButton = 700
	Event_TabletPadRing   = 701
	Event_TabletPadStrip  = 702

	Event_GestureSwipeBegin  = 800
	Event_GestureSwipeUpdate = 801
	Event_GestureSwipeEnd    = 802
	Event_GesturePinchBegin  = 803
	Event_GesturePinchUpdate = 804
	Event_GesturePinchEnd    = 805

	Event_SwitchToggle = 900
)

https://code.woboq.org/qt5/include/libinput.h.html

View Source
const (
	PointerAxis_ScrollVertical = iota
	PointerAxis_ScrollHorizontal
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type EventType
	// contains filtered or unexported fields
}

type EventType

type EventType uint32

func (EventType) String

func (ev EventType) String() string

type PointerAxis

type PointerAxis uint32

func (PointerAxis) String

func (pp PointerAxis) String() string

Jump to

Keyboard shortcuts

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