feature: Add basic EDID reading, writing, and patching capabilities
This commit is contained in:
parent
d0a4d26082
commit
183d2606dc
12 changed files with 431 additions and 5 deletions
21
app/edidtools/patching_tools_win.go
Normal file
21
app/edidtools/patching_tools_win.go
Normal file
|
@ -0,0 +1,21 @@
|
|||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
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 Windows")
|
||||
}
|
||||
|
||||
// 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 Windows")
|
||||
}
|
||||
|
||||
// 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 Windows")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue