Documentation
¶
Index ¶
Constants ¶
View Source
const ( OrientationUnknown = Orientation("unknown") OrientationNormal = Orientation("normal") OrientationInverted = Orientation("inverted") OrientationLeft = Orientation("left") OrientationRight = Orientation("right") AxisX = Axis(iota) AxisY )
Variables ¶
View Source
var AutodetectKeywords = []string{
"Wacom HID",
}
Functions ¶
func DetectTouchScreens ¶
Types ¶
type Autorotate ¶
type Autorotate struct {
// contains filtered or unexported fields
}
func NewAutorotate ¶
func (Autorotate) GetOrientationEdges ¶
func (a Autorotate) GetOrientationEdges() map[Orientation]edge
func (Autorotate) SetOrientation ¶
func (a Autorotate) SetOrientation(orientation Orientation) error
type Orientation ¶
type Orientation string
type XInputCoordinates ¶
type XInputCoordinates [9]int
Click to show internal directories.
Click to hide internal directories.