summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-02-05 16:04:02 +0100
committerBastien Nocera <hadess@hadess.net>2017-02-15 17:33:16 +0100
commit112814fd4fa16782d7e07363d91616d154b77d93 (patch)
treefb4ab919dad5c844e4218a6df8de9cac34a2c945 /dbus
parent12d34b8a8b02701ac778886d06ef6deba38ea43e (diff)
downloadupower-112814fd4fa16782d7e07363d91616d154b77d93.tar.gz
UpKbdBacklight: Add new BrightnessChangedWithSource signal
There are multiple possible causes for the keyboard brightness to change, e.g. SetBrightness may get called, or the brightness may get changed through a hotkey which is handled in firmware. https://bugs.freedesktop.org/show_bug.cgi?id=98404
Diffstat (limited to 'dbus')
-rw-r--r--dbus/org.freedesktop.UPower.KbdBacklight.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/dbus/org.freedesktop.UPower.KbdBacklight.xml b/dbus/org.freedesktop.UPower.KbdBacklight.xml
index 994380f..6a7c2c6 100644
--- a/dbus/org.freedesktop.UPower.KbdBacklight.xml
+++ b/dbus/org.freedesktop.UPower.KbdBacklight.xml
@@ -96,6 +96,34 @@
</doc:doc>
</signal>
+ <signal name="BrightnessChangedWithSource">
+ <arg name="value" direction="out" type="i">
+ <doc:doc>
+ <doc:summary>
+ The new brightness value of the keyboard backlight.
+ </doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="source" direction="out" type="s">
+ <doc:doc>
+ <doc:summary>
+ Source of the keyboard backlight brightness change, either
+ "external" if SetBrightness was called, or "internal" if the
+ hardware changed the keyboard brightness itself (automatically or
+ through a firmware-handled hotkey being pressed).
+ </doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>
+ The keyboard backlight brightness level has changed including
+ information about the source of the change.
+ </doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
</interface>
</node>