Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterIconHandler ¶
func (*CounterIconHandler) IsRunning ¶
func (c *CounterIconHandler) IsRunning() bool
func (*CounterIconHandler) SetRunning ¶
func (c *CounterIconHandler) SetRunning(running bool)
func (*CounterIconHandler) Start ¶
func (c *CounterIconHandler) Start(k api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (CounterIconHandler) Stop ¶
func (c CounterIconHandler) Stop()
type CounterKeyHandler ¶
type CounterKeyHandler struct{}
func (CounterKeyHandler) Key ¶
func (CounterKeyHandler) Key(key api.Key, info api.StreamDeckInfo)
type GameHandler ¶
func NewGameHandler ¶
func NewGameHandler() *GameHandler
func (*GameHandler) IsRunning ¶
func (g *GameHandler) IsRunning() bool
func (*GameHandler) SetRunning ¶
func (g *GameHandler) SetRunning(running bool)
func (*GameHandler) Start ¶
func (g *GameHandler) Start( k api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (*GameHandler) Stop ¶
func (g *GameHandler) Stop()
type GameKeyHandler ¶
func NewGameKeyHandler ¶
func NewGameKeyHandler(action models.Action, state *GameState) *GameKeyHandler
func (GameKeyHandler) Key ¶
func (g GameKeyHandler) Key(key api.Key, info api.StreamDeckInfo)
type GameState ¶
type GameState struct {
// contains filtered or unexported fields
}
func NewGameState ¶
type GifIconHandler ¶
func (*GifIconHandler) IsRunning ¶
func (s *GifIconHandler) IsRunning() bool
func (*GifIconHandler) SetRunning ¶
func (s *GifIconHandler) SetRunning(running bool)
func (*GifIconHandler) Start ¶
func (s *GifIconHandler) Start(key api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (*GifIconHandler) Stop ¶
func (s *GifIconHandler) Stop()
type IconStateHandler ¶
type IconStateHandler struct { Running bool Callback func(image image.Image) State bool Icon1 image.Image Icon2 image.Image CurrentImage image.Image }
func (*IconStateHandler) IsRunning ¶
func (c *IconStateHandler) IsRunning() bool
func (*IconStateHandler) LoadIcons ¶
func (c *IconStateHandler) LoadIcons(k api.Key)
Both Icon Images must be loaded successfully If one of both is missing, no image will be loaded
func (*IconStateHandler) SetRunning ¶
func (c *IconStateHandler) SetRunning(running bool)
func (*IconStateHandler) Start ¶
func (c *IconStateHandler) Start( k api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (IconStateHandler) Stop ¶
func (c IconStateHandler) Stop()
type IconStateKeyHandler ¶
type IconStateKeyHandler struct{}
func (IconStateKeyHandler) Key ¶
func (IconStateKeyHandler) Key(key api.Key, info api.StreamDeckInfo)
type TimeIconHandler ¶
func (*TimeIconHandler) IsRunning ¶
func (t *TimeIconHandler) IsRunning() bool
func (*TimeIconHandler) SetRunning ¶
func (t *TimeIconHandler) SetRunning(running bool)
func (*TimeIconHandler) Start ¶
func (t *TimeIconHandler) Start(k api.Key, info api.StreamDeckInfo, callback func(image image.Image))
func (*TimeIconHandler) Stop ¶
func (t *TimeIconHandler) Stop()
Click to show internal directories.
Click to hide internal directories.