Versions in this module Expand all Collapse all v0 v0.0.3 Sep 12, 2019 v0.0.2 Sep 11, 2019 Changes in this version + func LedColor(color LEDColor) func(*LedButton) + func Text(text string) func(*LedButton) + func TextColor(c image.Uniform) func(*LedButton) + type LEDColor int + const LEDGreen + const LEDOff + const LEDRed + const LEDYellow + type LedButton struct + func NewLedButton(sd *sd.StreamDeck, id int, options ...func(*LedButton)) (*LedButton, error) + func (btn *LedButton) Change(state sd.BtnState) + func (btn *LedButton) Draw() error + func (btn *LedButton) SetState(state bool) error + func (btn *LedButton) SetText(text string) error + func (btn *LedButton) State() bool