unrealxr/app/edidtools/patching_tools_macos.go

21 lines
752 B
Go

//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")
}