ledcolor

package
v0.0.0-...-c7a7bc1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormatRGB = "rgb"
	FormatHSV = "hsv"
)

Variables

This section is empty.

Functions

func New

func New(clients *action.Clients, config map[string]interface{}) (action.Action, error)

Types

type Config

type Config struct {
	Host     string   `mapstructure:"host"`
	Controls [3]uint8 `mapstructure:"controls"`
	Format   string   `mapstructure:"format"`
}

type LedColor

type LedColor struct {
	*action.Clients
	// contains filtered or unexported fields
}

func (*LedColor) OnMidiMessage

func (l *LedColor) OnMidiMessage(msg midiclient.MidiMessage)

func (*LedColor) String

func (l *LedColor) String() string

Jump to

Keyboard shortcuts

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