Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigurationRequest ¶
type ConfigurationRequest struct {
Heads []HeadConfig `json:"heads"`
Test bool `json:"test"`
}
type HeadConfig ¶
type HeadConfig struct {
Name string `json:"name"`
Enabled bool `json:"enabled"`
ModeID *uint32 `json:"modeId,omitempty"`
CustomMode *struct {
Width int32 `json:"width"`
Height int32 `json:"height"`
Refresh int32 `json:"refresh"`
} `json:"customMode,omitempty"`
Position *struct{ X, Y int32 } `json:"position,omitempty"`
Transform *int32 `json:"transform,omitempty"`
Scale *float64 `json:"scale,omitempty"`
AdaptiveSync *uint32 `json:"adaptiveSync,omitempty"`
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) ApplyConfiguration ¶
func (m *Manager) ApplyConfiguration(heads []HeadConfig, test bool) error
func (*Manager) FatalError ¶
func (*Manager) Unsubscribe ¶
type Output ¶
type Output struct {
Name string `json:"name"`
Description string `json:"description"`
Make string `json:"make"`
Model string `json:"model"`
SerialNumber string `json:"serialNumber"`
PhysicalWidth int32 `json:"physicalWidth"`
PhysicalHeight int32 `json:"physicalHeight"`
Enabled bool `json:"enabled"`
X int32 `json:"x"`
Y int32 `json:"y"`
Transform int32 `json:"transform"`
Scale float64 `json:"scale"`
CurrentMode *OutputMode `json:"currentMode"`
Modes []OutputMode `json:"modes"`
AdaptiveSync uint32 `json:"adaptiveSync"`
ID uint32 `json:"id"`
}
type OutputMode ¶
type SuccessResult ¶
Click to show internal directories.
Click to hide internal directories.