edid

package module
v0.0.0-...-7a35100 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 18 Imported by: 0

README

EXPERIMENTAL!!

TODO

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EDID

type EDID struct {
	Display string

	IsActive                                                 bool
	Querier                                                  string
	Model                                                    uint32
	Serial                                                   uint64
	ProductionYear                                           uint
	ProductionWeek                                           uint
	ProductionWeekFF                                         bool
	VersionMajor                                             uint
	VersionMinor                                             uint
	PNPID                                                    [3]byte
	Manufacturer                                             string
	ManufacturerPNPDateOfApproval                            time.Time
	Input                                                    string // "digital" / "analog"
	VideoInterface                                           string
	BitDepth                                                 string
	VSyncPulseMustBeSerratedWhenCompositeOrSyncOnGreenIsUsed bool
	SyncOnGreenSupport                                       bool
	CompositeSyncOnHSyncSupport                              bool
	SeparateSyncSupport                                      bool
	BlankToBlackSetupPedestalExpected                        bool
	VideoWhiteAndSyncLevelsRelativeToBlank                   string
	ResolutionPreferredX                                     int
	ResolutionPreferredY                                     int
	// contains filtered or unexported fields
}

func New

func New(b []byte) (*EDID, error)

func QueryEDID

func QueryEDID(method string) ([]*EDID, error)

QueryEDID - valid methods: "x11","i2c","setupapi","ioreg"

func (*EDID) Data

func (e *EDID) Data() []byte

type PNPEntry

type PNPEntry struct {
	ID             string
	DateOfApproval string
	Company        string
}

Jump to

Keyboard shortcuts

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