gesture

package
v0.0.0-...-5dbe658 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ActionTypeShortcut    = "shortcut"
	ActionTypeCommandline = "commandline"
	ActionTypeBuiltin     = "built-in"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionInfo

type ActionInfo struct {
	Type   string
	Action string
}

type Daemon

type Daemon struct {
	*loader.ModuleBase
	// contains filtered or unexported fields
}

func NewDaemon

func NewDaemon() *Daemon

func (*Daemon) GetDependencies

func (*Daemon) GetDependencies() []string

func (*Daemon) Start

func (d *Daemon) Start() error

func (*Daemon) Stop

func (d *Daemon) Stop() error

type EventInfo

type EventInfo struct {
	Name      string
	Direction string
	Fingers   int32
}

type Manager

type Manager struct {
	Infos gestureInfos
	// contains filtered or unexported fields
}

func (*Manager) Exec

func (m *Manager) Exec(evInfo EventInfo) error

func (*Manager) GetEdgeMoveStopDuration

func (m *Manager) GetEdgeMoveStopDuration() (duration uint32, busErr *dbus.Error)

func (*Manager) GetExportedMethods

func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods

func (*Manager) GetInterfaceName

func (*Manager) GetInterfaceName() string

func (*Manager) GetLongPressDuration

func (m *Manager) GetLongPressDuration() (duration uint32, busErr *dbus.Error)

func (*Manager) GetShortPressDuration

func (m *Manager) GetShortPressDuration() (duration uint32, busErr *dbus.Error)

func (*Manager) SetEdgeMoveStopDuration

func (m *Manager) SetEdgeMoveStopDuration(duration uint32) *dbus.Error

func (*Manager) SetLongPressDuration

func (m *Manager) SetLongPressDuration(duration uint32) *dbus.Error

func (*Manager) SetShortPressDuration

func (m *Manager) SetShortPressDuration(duration uint32) *dbus.Error

func (*Manager) Write

func (m *Manager) Write() error

type Rect

type Rect struct {
	X, Y          int32
	Width, Height uint32
}

type TouchScreensRotation

type TouchScreensRotation uint16
const (
	Normal       TouchScreensRotation = 1
	Rotation_90  TouchScreensRotation = 2
	Rotation_180 TouchScreensRotation = 4
	Rotation_270 TouchScreensRotation = 8
)

counterclockwise

Jump to

Keyboard shortcuts

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