button

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidButton = errors.New("invalid button")

Functions

This section is empty.

Types

type Button

type Button uint8
const (
	A      Button = iota // a
	B                    // b
	Select               // select
	Start                // start
	Up                   // up
	Down                 // down
	Left                 // left
	Right                // right
)

func (Button) String

func (i Button) String() string

func (*Button) UnmarshalText

func (i *Button) UnmarshalText(b []byte) error

Jump to

Keyboard shortcuts

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