Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
Controllers []Controller `json:"controllers"`
}
func (*Backend) DiscoverLights ¶
func (b *Backend) DiscoverLights(l *chromaticity.LightResource)
func (*Backend) ImportLights ¶
func (b *Backend) ImportLights(l *chromaticity.LightResource, from []byte)
type Controller ¶
type Controller struct { limitless.LimitlessController CurrentColors map[int]*colorful.Color `json:"-"` NextColors map[int]*colorful.Color `json:"-"` }
func (*Controller) Sync ¶
func (c *Controller) Sync()
type LimitlessLight ¶
type LimitlessLight struct { chromaticity.LightInfo LightState *chromaticity.State `json:"state"` Group *limitless.LimitlessGroup `json:"-"` NextColor *colorful.Color `json:"-"` }
func (LimitlessLight) GetNumPixels ¶
func (k LimitlessLight) GetNumPixels() uint16
func (LimitlessLight) GetState ¶
func (k LimitlessLight) GetState() *chromaticity.State
func (LimitlessLight) SetColor ¶
func (k LimitlessLight) SetColor(c colorful.Color)
func (LimitlessLight) SetColors ¶
func (k LimitlessLight) SetColors(c []colorful.Color)
Click to show internal directories.
Click to hide internal directories.