input

package
v0.0.0-...-2e55a2e Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindKeys

func BindKeys(tr *desktop.Tracker)

func BindMouse

func BindMouse(tr *desktop.Tracker)

func BindSignal

func BindSignal(tr *desktop.Tracker)

func BindSocket

func BindSocket(tr *desktop.Tracker)

func Enable

func Enable(tr *desktop.Tracker, ws *desktop.Workspace) bool

func Execute

func Execute(action string, mod string, tr *desktop.Tracker) bool

func Exit

func Exit(tr *desktop.Tracker) bool

func External

func External(command string) bool

func NotifySocket

func NotifySocket[T any](m Message[T])

func OnExecute

func OnExecute(fun func(string))

func Query

func Query(state string, tr *desktop.Tracker) bool

Types

type Message

type Message[T any] struct {
	Type string // Socket message type
	Name string // Socket message name
	Data T      // Socket message data
}

Jump to

Keyboard shortcuts

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