Documentation
¶
Overview ¶
Package finger reports a mouse as finger 0 of core.EventTouch, for the desktop backends: its primary button going down, moving while down and going up are a finger's touches.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mouse ¶
type Mouse struct {
driver.TouchTracker
// contains filtered or unexported fields
}
Mouse follows one mouse's primary button.
func (*Mouse) Cancel ¶
Cancel reports the touches taken away, such as by another window capturing the mouse, at p.
func (*Mouse) Down ¶
Down reports the button going down at p, in surface points, when a view listens; the touches it starts are reported until the button goes up.