input

package
v0.0.0-...-df128bb Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

func Get

func Get(ctx context.Context) *Context

func NewContext

func NewContext(ctx context.Context) (*Context, context.Context)

func (*Context) OnKey

func (c *Context) OnKey(e key.Event)

func (*Context) OnMouse

func (c *Context) OnMouse(e mouse.Event)

func (*Context) OnSize

func (c *Context) OnSize(e size.Event)

func (*Context) OnTouch

func (c *Context) OnTouch(e touch.Event)

func (*Context) Tick

func (c *Context) Tick()

Jump to

Keyboard shortcuts

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