Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BrightnessController ¶
type BrightnessController struct {
// contains filtered or unexported fields
}
func NewBrightnessController ¶
func NewBrightnessController( brightnessCmd string, actualBrightnessCmd string, maxBrightnessCmd string, ) *BrightnessController
func (*BrightnessController) CurrentBrightness ¶
func (b *BrightnessController) CurrentBrightness() (int, error)
func (*BrightnessController) MaxBrightness ¶
func (b *BrightnessController) MaxBrightness() (int, error)
func (*BrightnessController) SetBrightness ¶
func (b *BrightnessController) SetBrightness(value int) error
func (*BrightnessController) SetPercentage ¶
func (b *BrightnessController) SetPercentage(value int) (currentValue, maxValue int, err error)
Click to show internal directories.
Click to hide internal directories.