Versions in this module Expand all Collapse all v1 v1.0.44 Apr 9, 2024 Changes in this version + func GetDevices() (result []streamdeck_wrapper.Device) + func GetJSON(baseURL string, headers map[string]string, params map[string]string) (target interface{}) + func PostJSON(url string, headers map[string]string, payload interface{}) (result interface{}) + func PrintDevices() (result []streamdeck_wrapper.Device) + type Button struct + DoubleClick string + Id string + Image string + Index uint8 + LastPressTime time.Time + MP3 string + Options map[string]string + PressCount int + ReturnPage string + SingleClick string + Timer *time.Timer + Toggle string + TripleClick string + type PageButton struct + Id string + Index uint8 + type PushOverConfig struct + GlobalNotify bool + GlobalNotifySound string + GlobalNotifyTo string + Token string + type StreamDeckUI struct + ActivePageID string + Brightness uint8 + Buttons map[string]Button + DB *bolt_api.DB + Device streamdeck_wrapper.Device + EndpointHostName string + EndpointToken string + Fresh bool + GlobalCooldownMilliseconds int64 + IconSize uint + LastPressTime time.Time + LoadedButtonImages map[uint8]string + Muted bool + Pages map[string]StreamDeckUIPage + PlayBackMutex sync.Mutex + ProductID string + PushOver PushOverConfig + Ready bool + Serial string + SettingsMode bool + Sleep bool + Twilio TwilioConfig + TwilioCallMutex sync.Mutex + TwilioLocked bool + VendorID string + XSize int + YSize int + func NewStreamDeckUI(file_path string) (result *StreamDeckUI) + func NewStreamDeckUIFromInterface(config interface{}) (result *StreamDeckUI) + func (ui *StreamDeckUI) AddButton(button_id string, button Button) (result string) + func (ui *StreamDeckUI) AddImageAsTiledButton(file_path string, button Button) string + func (ui *StreamDeckUI) AddImageAsTiledButtonCustom(file_path string, button Button, x_size_int int, y_size_int int, ...) string + func (ui *StreamDeckUI) AddPage(page_id string, page StreamDeckUIPage) (result string) + func (ui *StreamDeckUI) BtnIdToPageButton(button_id string) (result Button) + func (ui *StreamDeckUI) BtnNumToPageButton(button_index uint8) (result Button) + func (ui *StreamDeckUI) ButtonAction(button Button, action_type string, action string, mp3_path string) + func (ui *StreamDeckUI) Clear() + func (ui *StreamDeckUI) Connect() + func (ui *StreamDeckUI) DecreaseBrightness() + func (ui *StreamDeckUI) GetActivePageID() (result string) + func (ui *StreamDeckUI) Hide() + func (ui *StreamDeckUI) IncreaseBrightness() + func (ui *StreamDeckUI) Mute() + func (ui *StreamDeckUI) PlayMP3(file_path string) + func (ui *StreamDeckUI) PushOverSend(to string, message string, sound string) + func (ui *StreamDeckUI) Render() + func (ui *StreamDeckUI) RenderSoft() + func (ui *StreamDeckUI) SetActivePageID(page_id string) (result string) + func (ui *StreamDeckUI) SetBrightness(brightness_level uint8) + func (ui *StreamDeckUI) Show() + func (ui *StreamDeckUI) SingleClickId(button_id string) + func (ui *StreamDeckUI) SingleClickNumber(button_num uint8) + func (ui *StreamDeckUI) TwilioCall(to string, url string) + func (ui *StreamDeckUI) UnMute() + func (ui *StreamDeckUI) WatchKeys() + type StreamDeckUIPage struct + Buttons []PageButton + type TwilioConfig struct + APIKeySID string + APIKeySecret string + From string + SID string + Token string