input

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyState

type KeyState struct {
	Pressed  bool
	Duration time.Duration
	// contains filtered or unexported fields
}

type Manager

type Manager interface {
	WatchKey(key ebiten.Key)
	UnwatchKey(key ebiten.Key)
	UpdateKeys(delta time.Duration)

	KeyPressed(key ebiten.Key) bool
	KeyJustPressed(key ebiten.Key) bool
}

func NewManager

func NewManager() Manager

Jump to

Keyboard shortcuts

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