Documentation
¶
Index ¶
- type Brightness
- type BrightnessAction
- type Caster
- type Clock
- type Colour
- type LEDColour
- type Litra
- type LitraAction
- type MQTTAction
- type MqttThing
- type Obs
- func (o *Obs) Buttons(maxScenes int, offset int)
- func (o *Obs) ClearButtons()
- func (o *Obs) ConnectOBS()
- func (o *Obs) ObsEventHandlers()
- func (o *Obs) SetRecordButton(index int, image string, unmuteSource string)
- func (o *Obs) SetStreamButton(index int, image string, unmuteSource string)
- func (o *Obs) SetToggleMuteButton(index int, source string, imageOn string, imageOff string)
- type ObsScene
- type PlugAction
- type PlugDevice
- type Screenshot
- type TimerAction
- type Twitch
- type TwitchAction
- type WindowMgmt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Brightness ¶
type Brightness struct { SD *streamdeck.StreamDeck Level int // contains filtered or unexported fields }
func (*Brightness) Init ¶
func (b *Brightness) Init()
func (*Brightness) Update ¶
func (b *Brightness) Update()
type BrightnessAction ¶
type BrightnessAction struct {
Brightness *Brightness
}
func (*BrightnessAction) Pressed ¶
func (a *BrightnessAction) Pressed(btn streamdeck.Button)
type Clock ¶
type Clock struct { SD *streamdeck.StreamDeck ClockButtons [32]bool Hues [32]int ClockNames [32]string Tickers [32]*time.Ticker TimersActive [32]bool StartTimes [32]time.Time // contains filtered or unexported fields }
func (*Clock) AddClockButton ¶
type LEDColour ¶
type LEDColour struct { Red uint8 `mapstructure:"red"` Green uint8 `mapstructure:"green"` Blue uint8 `mapstructure:"blue"` }
Set up buttons
type Litra ¶
type Litra struct { SD *streamdeck.StreamDeck CurrentConfig int Configurations []litraConfiguration // contains filtered or unexported fields }
type LitraAction ¶
type LitraAction struct {
Litra *Litra
}
func (*LitraAction) Pressed ¶
func (a *LitraAction) Pressed(btn streamdeck.Button)
type MQTTAction ¶
type MQTTAction struct { Client mqtt.Client Colour color.RGBA // contains filtered or unexported fields }
Lights Action handler
func (*MQTTAction) Pressed ¶
func (action *MQTTAction) Pressed(btn streamdeck.Button)
type MqttThing ¶
type MqttThing struct { SD *streamdeck.StreamDeck // contains filtered or unexported fields }
type Obs ¶
type Obs struct { SD *streamdeck.StreamDeck // contains filtered or unexported fields }
func (*Obs) ClearButtons ¶
func (o *Obs) ClearButtons()
func (*Obs) ConnectOBS ¶
func (o *Obs) ConnectOBS()
func (*Obs) ObsEventHandlers ¶
func (o *Obs) ObsEventHandlers()
func (*Obs) SetRecordButton ¶
func (*Obs) SetStreamButton ¶
type ObsScene ¶
type ObsScene struct { Name string `mapstructure:"name"` Image string `mapstructure:"image"` ButtonId int }
func (*ObsScene) SetButtonId ¶
type PlugAction ¶
type PlugAction struct { Client mqtt.Client Device string State int ImageOn string ImageOff string }
Button action handler
func (*PlugAction) Pressed ¶
func (action *PlugAction) Pressed(btn streamdeck.Button)
type PlugDevice ¶
type Screenshot ¶
type Screenshot struct {
SD *streamdeck.StreamDeck
}
func (*Screenshot) Buttons ¶
func (s *Screenshot) Buttons()
func (*Screenshot) Init ¶
func (s *Screenshot) Init()
type TimerAction ¶
func (*TimerAction) Pressed ¶
func (t *TimerAction) Pressed(btn streamdeck.Button)
type Twitch ¶
type Twitch struct { SD *streamdeck.StreamDeck // contains filtered or unexported fields }
type TwitchAction ¶
func (*TwitchAction) Pressed ¶
func (action *TwitchAction) Pressed(btn streamdeck.Button)
type WindowMgmt ¶
type WindowMgmt struct {
SD *streamdeck.StreamDeck
}
func (*WindowMgmt) Buttons ¶
func (s *WindowMgmt) Buttons()
func (*WindowMgmt) Init ¶
func (s *WindowMgmt) Init()
Click to show internal directories.
Click to hide internal directories.