Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { *common.Controller Type ControllerType DeviceEDID []byte }
func NewController ¶
func NewController(path string) (*Controller, error)
func (*Controller) GetActualBrightness ¶
func (c *Controller) GetActualBrightness() (int, error)
type ControllerType ¶
type ControllerType uint
const ( ControllerTypeUnknown ControllerType = iota ControllerTypeFirmware ControllerTypePlatform ControllerTypeRaw )
func ControllerTypeFromString ¶
func ControllerTypeFromString(str string) ControllerType
func (ControllerType) String ¶
func (t ControllerType) String() string
type Controllers ¶
type Controllers []*Controller
func List ¶
func List() (Controllers, error)
func (Controllers) GetByEDID ¶
func (cs Controllers) GetByEDID(edid []byte) *Controller
func (Controllers) GetByName ¶
func (cs Controllers) GetByName(name string) *Controller
Click to show internal directories.
Click to hide internal directories.