brightness

package
v0.0.0-...-9cde664 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetterAuto      = "auto"
	SetterGamma     = "gamma"
	SetterBacklight = "backlight"
)

Variables

This section is empty.

Functions

func GetBacklightController

func GetBacklightController(outputId uint32, conn *x.Conn) (*displayBl.Controller, error)

func GetMaxBacklightBrightness

func GetMaxBacklightBrightness() int

func InitBacklightHelper

func InitBacklightHelper()

func Set

func Set(brightness float64, temperature int, setter string, isBuiltin bool, outputId uint32, conn *x.Conn) error

func SetUseWayland

func SetUseWayland(value bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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