...

Source file src/edge-infra.dev/pkg/sds/lib/xorg/xorg.go

Documentation: edge-infra.dev/pkg/sds/lib/xorg

     1  package xorg
     2  
     3  // OutputID is the ID of an output, e.g. HDMI1.
     4  type OutputID string
     5  
     6  func (id *OutputID) String() string {
     7  	if id == nil {
     8  		return ""
     9  	}
    10  	return string(*id)
    11  }
    12  
    13  // InputDeviceID is the ID of an input device as assigned by Xorg, e.g. "2".
    14  type InputDeviceID string
    15  
    16  func (id *InputDeviceID) String() string {
    17  	if id == nil {
    18  		return ""
    19  	}
    20  	return string(*id)
    21  }
    22  

View as plain text