ui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	actor.Base
	// contains filtered or unexported fields
}

func New

func New() *UI

func (*UI) AddDevice added in v0.1.2

func (u *UI) AddDevice(dev wiimote.Device, eventPath string)

func (*UI) HandleKeyEvent

func (u *UI) HandleKeyEvent(key wiimote.Keycode, state wiimote.KeyState)

func (*UI) HandleLastMsg

func (u *UI) HandleLastMsg(a actor.Actor, reason error) error

func (*UI) HandleStickEvent added in v0.1.2

func (u *UI) HandleStickEvent(stID wiimote.Stick, val wiimote.EventVal)

func (*UI) Initialize

func (u *UI) Initialize() (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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