Documentation ¶
Index ¶
Constants ¶
View Source
const ( DESTINATION string = "org.freedesktop.UPower" OBJECT_PATH dbus.ObjectPath = "/org/freedesktop/UPower/KbdBacklight" CALL_GET_BRIGHTNESS string = "org.freedesktop.UPower.KbdBacklight.GetBrightness" CALL_SET_BRIGHTNESS string = "org.freedesktop.UPower.KbdBacklight.SetBrightness" SIGNAL_INTERFACE string = "org.freedesktop.UPower.KbdBacklight" SIGNAL string = "BrightnessChangedWithSource" )
Variables ¶
This section is empty.
Functions ¶
func GetBrightness ¶
func GetBrightness(o DbusObject) (int32, error)
func GetObject ¶
func GetObject(conn DbusConnection) dbus.BusObject
func SetBrightness ¶
func SetBrightness(o DbusObject, value int32) error
func SignalListen ¶
func SignalListen(conn DbusConnection, o DbusObject, ch chan<- *dbus.Signal)
Types ¶
type DbusConnection ¶
Click to show internal directories.
Click to hide internal directories.