input

package
v0.0.0-...-21c9ebe Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binds

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

func NewBinds

func NewBinds() *Binds

func (*Binds) Add

func (binds *Binds) Add(action string, control ebiten.Key)

func (*Binds) Addr

func (binds *Binds) Addr(action string, keys ...ebiten.Key)

func (*Binds) IsPressed

func (binds *Binds) IsPressed(action string) bool

func (*Binds) ReadVectorComposite

func (binds *Binds) ReadVectorComposite(xNegKey string, xPosKey string,
	yNegKey string, yPosKey string) core.Vector2

func (*Binds) Remove

func (binds *Binds) Remove(action string, control ebiten.Key)

Jump to

Keyboard shortcuts

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