Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectMove ¶
Types ¶
type ClickFilter ¶
type ClickFilter struct {
// contains filtered or unexported fields
}
produce click/doubleclick/tripleclick events
func NewClickFilter ¶
func NewClickFilter(emitEvFn func(any, image.Point)) *ClickFilter
func (*ClickFilter) Filter ¶
func (clickf *ClickFilter) Filter(ev any)
type DragFilter ¶
type DragFilter struct {
// contains filtered or unexported fields
}
Produce mousedrag* events. Keeps track of the first mouse button used.
func NewDragFilter ¶
func NewDragFilter(emitEvFn func(any, image.Point)) *DragFilter
func (*DragFilter) Filter ¶
func (dragf *DragFilter) Filter(ev any)
type MClickAction ¶
type MClickAction int
const ( MClickActionSingle MClickAction = iota MClickActionDouble MClickActionTriple )
type MoveFilter ¶
type MoveFilter struct {
// contains filtered or unexported fields
}
func NewMoveFilter ¶
func NewMoveFilter(fps int, emitFn func(any), isMoveFn func(any) bool) *MoveFilter
func (*MoveFilter) Filter ¶
func (movef *MoveFilter) Filter(ev any)
type MultipleClick ¶
type MultipleClick struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.