Versions in this module Expand all Collapse all v0 v0.1.1 Aug 29, 2026 v0.1.0 Aug 29, 2026 Changes in this version + const Full + const Off + var ErrNoBrightness = errors.New("brightness: this display does not report a brightness") + var ErrRange = errors.New("brightness: a level must be between 0 and 1") + var ErrUnavailable = errors.New("brightness: the DisplayServices framework is not available") + var ErrUnsupported = errors.New("brightness: unsupported on this platform (macOS only)") + func Dim(display uint32) (restore func() error, err error) + func Of(display uint32) (float64, error) + func Set(display uint32, level float64) error