ddcci

package
v0.0.0-...-c3da383 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbusPath = "/org/deepin/dde/BacklightHelper1/DDCCI"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	PropsMu sync.RWMutex
	// contains filtered or unexported fields
}

func NewManager

func NewManager(service *dbusutil.Service) (*Manager, error)

func (*Manager) CheckSupport

func (m *Manager) CheckSupport(edidBase64 string) (bool, *dbus.Error)

func (*Manager) GetBrightness

func (m *Manager) GetBrightness(edidBase64 string) (int32, *dbus.Error)

func (*Manager) GetExportedMethods

func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods

func (*Manager) GetInterfaceName

func (*Manager) GetInterfaceName() string

func (*Manager) RefreshDisplays

func (m *Manager) RefreshDisplays() *dbus.Error

func (*Manager) SetBrightness

func (m *Manager) SetBrightness(edidBase64 string, value int32) *dbus.Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL