Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var QuirksRegistry = map[string]map[string]DisplayQuirks{ "MRG": { "Air": { MaxWidth: 1920, MaxHeight: 1080, MaxRefreshRate: 120, SensorInitDelay: 10, ZVectorDisabled: true, }, }, }
Vendor and devices names sourced from "https://uefi.org/uefi-pnp-export"
Functions ¶
func LoadCustomEDIDFirmware ¶
func LoadCustomEDIDFirmware(displayMetadata *DisplayMetadata, edidFirmware []byte) error
Loads custom firmware for a supported XR glass device
func UnloadCustomEDIDFirmware ¶
func UnloadCustomEDIDFirmware(displayMetadata *DisplayMetadata) error
Unloads custom firmware for a supported XR glass device
Types ¶
type DisplayMetadata ¶
type DisplayMetadata struct {
EDID []byte
DeviceVendor string
DeviceQuirks DisplayQuirks
MaxWidth int
MaxHeight int
MaxRefreshRate int
LinuxDRMCard string
LinuxDRMConnector string
}
func FetchXRGlassEDID ¶
func FetchXRGlassEDID(allowUnsupportedDevices bool) (*DisplayMetadata, error)
Attempts to fetch the EDID firmware for any supported XR glasses device
Click to show internal directories.
Click to hide internal directories.