controller

package
v0.0.0-...-3045c56 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	PreloadPage(pageFile string) error
	SwapPage(pageFile string) error
	PushPage(pageFile string) error
	PopPage() error

	Start() error
	Stop() error
	Wait() error
	Reset() error

	SetBrightness(brightness int) error

	ResolveFile(file string) (io.ReadCloser, error)
	CleanPath(file string) (string, error)
	LoadConfig(file string, v interface{}) error
}

type ImageHelper

type ImageHelper interface {
	Load(path string) (*streamdeck.ImageData, error)

	LoadNoConvert(pathSub string) (image.Image, error)
	Convert(img image.Image) (*streamdeck.ImageData, error)

	GetBlankImage() *streamdeck.ImageData
	GetImageBounds() image.Rectangle
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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