Documentation
¶
Index ¶
- func HexColor(hex string) color.RGBA
- func ReadComment() string
- type Brightness
- type BrightnessAction
- type Caster
- type Clock
- type Litra
- type LitraAction
- type MqttAction
- type MqttListenAction
- type MqttPublishAction
- type MqttSubscription
- 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 Screenshot
- type TimerAction
- type Twitch
- type TwitchAction
- type WindowMgmt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadComment ¶
func ReadComment() string
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) SetBrightnessLevel ¶
func (a *Brightness) SetBrightnessLevel(level int)
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 Caster ¶
type Caster struct {
SD *streamdeck.StreamDeck
}
type Clock ¶
type Clock struct {
SD *streamdeck.StreamDeck
ClockButtons [32]bool
Hues [32]int
ClockNames [32]string
ClockSpeeds [32]float64
Tickers [32]*time.Ticker
TimersActive [32]bool
StartTimes [32]time.Time
// contains filtered or unexported fields
}
func (*Clock) AddClockButton ¶
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 {
ButtonIndex int
PublishTopic string
NextPublishPayload string
// contains filtered or unexported fields
}
func (*MqttAction) Pressed ¶
func (mq *MqttAction) Pressed(btn streamdeck.Button)
type MqttListenAction ¶
type MqttPublishAction ¶
type MqttSubscription ¶
type MqttSubscription struct {
Topic string `mapstructure:"topic"`
}
type MqttThing ¶
type MqttThing struct {
SD *streamdeck.StreamDeck
Brightness *Brightness
Active [32]bool
Ids [32]string
Names [32]string
PublishTopics [32]string
ActivePublishPayloads [32]string
InactivePublishPayloads [32]string
ActiveStateColors [32]string
InactiveStateColors [32]string
// contains filtered or unexported fields
}
func (*MqttThing) AddMqttButton ¶
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 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.