events

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyDown    = 3
	MouseDown  = 8
	MouseDrag  = 10
	MouseWheel = 11
)

Variables

This section is empty.

Functions

func KeyboardPresses

func KeyboardPresses(ev hook.Event, db *database.Queries)

func StartHookListener

func StartHookListener(db *database.Queries)

takes down all keymaps for keyboards and mouse

Types

type Event

type Event struct {
	Kind    string
	Rawcode int
	Keychar int
}

Jump to

Keyboard shortcuts

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