Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2022 v0.0.1 Sep 11, 2022 Changes in this version + const APPCOMMAND_MEDIA_PLAY_PAUSE + const FAPPCOMMAND_KEY + const WM_APPCOMMAND + func NewLogger(buildType string) (*zap.SugaredLogger, error) + type CanonicalConfig struct + ConnectionInfo struct{ ... } + InvertSliders bool + NoiseReductionLevel string + SliderMapping *sliderMap + func NewConfig(logger *zap.SugaredLogger, notifier Notifier) (*CanonicalConfig, error) + func (cc *CanonicalConfig) Load() error + func (cc *CanonicalConfig) StopWatchingConfigFile() + func (cc *CanonicalConfig) SubscribeToChanges() chan bool + func (cc *CanonicalConfig) WatchConfigFileChanges() + type Deej struct + func NewDeej(logger *zap.SugaredLogger, verbose bool) (*Deej, error) + func (d *Deej) Initialize() error + func (d *Deej) SetVersion(version string) + func (d *Deej) Verbose() bool + type Lighting int + const Flash + const Off + const On + const Pulse + type LightingChangeEvent struct + Lighting Lighting + SliderID int + type Notifier interface + Notify func(title string, message string) + type SerialIO struct + func NewSerialIO(deej *Deej, logger *zap.SugaredLogger) (*SerialIO, error) + func (sio *SerialIO) SendLightChange(light LightingChangeEvent) + func (sio *SerialIO) Start() error + func (sio *SerialIO) Stop() + func (sio *SerialIO) SubscribeToSliderMoveEvents() chan SliderMoveEvent + type Session interface + GetMute func() bool + GetVolume func() float32 + Key func() string + Release func() + SetMute func(m bool) error + SetVolume func(v float32) error + type SessionFinder interface + GetAllSessions func() ([]Session, error) + Release func() error + type SliderMoveEvent struct + ButtonDown bool + PercentValue float32 + SliderID int + type ToastNotifier struct + func NewToastNotifier(logger *zap.SugaredLogger) (*ToastNotifier, error) + func (tn *ToastNotifier) Notify(title string, message string)