Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainedAction ¶
type ChainedAction struct {
// contains filtered or unexported fields
}
func NewChainedAction ¶
func NewChainedAction(actions []streamdeck.ButtonActionHandler) *ChainedAction
func NewEmptyChainedAction ¶
func NewEmptyChainedAction() *ChainedAction
func (*ChainedAction) AddAction ¶
func (act *ChainedAction) AddAction(newaction streamdeck.ButtonActionHandler)
func (*ChainedAction) Pressed ¶
func (act *ChainedAction) Pressed(btn streamdeck.Button)
type ColourChangeAction ¶
func NewColourChangeAction ¶
func NewColourChangeAction(newColour color.Color) *ColourChangeAction
func (*ColourChangeAction) Pressed ¶
func (action *ColourChangeAction) Pressed(btn streamdeck.Button)
type CustomAction ¶
type CustomAction struct {
// contains filtered or unexported fields
}
func NewCustomAction ¶
func NewCustomAction(handler func(streamdeck.Button)) *CustomAction
func NewEmptyCustomAction ¶
func NewEmptyCustomAction() *CustomAction
func (*CustomAction) Pressed ¶
func (action *CustomAction) Pressed(btn streamdeck.Button)
func (*CustomAction) SetHandler ¶
func (action *CustomAction) SetHandler(f func(streamdeck.Button))
type ExecAction ¶
func NewExecAction ¶
func NewExecAction(command *exec.Cmd) *ExecAction
func (*ExecAction) Pressed ¶
func (action *ExecAction) Pressed(btn streamdeck.Button)
type NumberPrintAction ¶
type NumberPrintAction struct {
Number int
}
func NewNumberPrintAction ¶
func NewNumberPrintAction(number int) *NumberPrintAction
func (*NumberPrintAction) Pressed ¶
func (npa *NumberPrintAction) Pressed(btn streamdeck.Button)
type TextLabelChangeAction ¶
type TextLabelChangeAction struct {
NewLabel string
}
func NewTextLabelChangeAction ¶
func NewTextLabelChangeAction(newLabel string) *TextLabelChangeAction
func (*TextLabelChangeAction) Pressed ¶
func (action *TextLabelChangeAction) Pressed(btn streamdeck.Button)
type TextPrintAction ¶
type TextPrintAction struct {
Label string
}
func NewTextPrintAction ¶
func NewTextPrintAction(label string) *TextPrintAction
func (*TextPrintAction) Pressed ¶
func (action *TextPrintAction) Pressed(btn streamdeck.Button)
Click to show internal directories.
Click to hide internal directories.