display

package
v0.0.0-...-17244d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL