feature: Add basic EDID reading, writing, and patching capabilities

This commit is contained in:
Tera << 8 2025-06-22 20:14:04 -04:00
parent d0a4d26082
commit 183d2606dc
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
12 changed files with 431 additions and 5 deletions

View file

@ -0,0 +1,21 @@
//go:build darwin
// +build darwin
package edidtools
import "fmt"
// Attempts to fetch the EDID firmware for any supported XR glasses device
func FetchXRGlassEDID(allowUnsupportedDevices bool) (*DisplayMetadata, error) {
return nil, fmt.Errorf("automatic fetching of EDID data is not supported on macOS")
}
// Loads custom firmware for a supported XR glass device
func LoadCustomEDIDFirmware(displayMetadata *DisplayMetadata, edidFirmware []byte) error {
return fmt.Errorf("loading custom EDID firmware is not supported on macOS")
}
// Unloads custom firmware for a supported XR glass device
func UnloadCustomEDIDFirmware(displayMetadata *DisplayMetadata) error {
return fmt.Errorf("unloading custom EDID firmware is not supported on macOS")
}