Documentation
¶
Index ¶
- type Display
- type Gotogen
- func (g *Gotogen) Accelerometer() (int32, int32, int32, gotogen.SensorStatus)
- func (g *Gotogen) BoopDistance() (uint8, gotogen.SensorStatus)
- func (g *Gotogen) ButtonPress(b gotogen.MenuButton)
- func (g *Gotogen) EarlyInit() (faceDisplay gotogen.Display, err error)
- func (g *Gotogen) LateInit(_ *textbuf.Buffer)
- func (g *Gotogen) MenuItems() []gotogen.Item
- func (g *Gotogen) PressedButton() gotogen.MenuButton
- func (g *Gotogen) StatusLine() string
- func (g *Gotogen) Talking() bool
- func (g *Gotogen) UpdateAccelerometerX(v float64)
- func (g *Gotogen) UpdateAccelerometerY(v float64)
- func (g *Gotogen) UpdateAccelerometerZ(v float64)
- func (g *Gotogen) UpdateBoop(v float64)
- func (g *Gotogen) UpdateTalk(v bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Display ¶
type Display struct {
// contains filtered or unexported fields
}
func NewDisplay ¶
func (*Display) CanUpdateNow ¶
type Gotogen ¶
type Gotogen struct { // Face *pixbufmatrix.Matrix // Menu *pixbufmatrix.Matrix Face *Display Menu *Display // contains filtered or unexported fields }
func (*Gotogen) Accelerometer ¶
func (*Gotogen) BoopDistance ¶
func (g *Gotogen) BoopDistance() (uint8, gotogen.SensorStatus)
func (*Gotogen) ButtonPress ¶
func (g *Gotogen) ButtonPress(b gotogen.MenuButton)
func (*Gotogen) PressedButton ¶
func (g *Gotogen) PressedButton() gotogen.MenuButton
func (*Gotogen) StatusLine ¶
func (*Gotogen) UpdateAccelerometerX ¶
func (*Gotogen) UpdateAccelerometerY ¶
func (*Gotogen) UpdateAccelerometerZ ¶
func (*Gotogen) UpdateBoop ¶
func (*Gotogen) UpdateTalk ¶
Click to show internal directories.
Click to hide internal directories.