From 13656b60f75f53b0883fffe4cfcbf6929b9f2dd1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 18 Feb 2019 14:26:23 +1000 Subject: [PATCH] doc: ref the LED enums correctly Signed-off-by: Peter Hutterer --- doc/dbus.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/dbus.rst b/doc/dbus.rst index 29ee2464..401e5214 100644 --- a/doc/dbus.rst +++ b/doc/dbus.rst @@ -458,21 +458,23 @@ org.freedesktop.ratbag1.Led :type: u :flags: read-write, mutable - uint mapping to the mode enum from libratbag + Enum describing the current mode, see + :cpp:enum:`ratbag_led_mode`. .. attribute:: Modes - :type: au - :flags: read-only, constant + :type: au + :flags: read-only, constant - A list of modes supported by this LED + A list of modes supported by this LED, see + :cpp:enum:`ratbag_led_mode`. .. attribute:: Type :type: u :flags: read-only, mutable - enum describing the LED type + The LED type, see :cpp:enum:`ratbag_led_type`. .. attribute:: Color @@ -486,7 +488,7 @@ org.freedesktop.ratbag1.Led :type: u :flags: read-only, constant - The color depth of this LED as one of the constants in libratbag-enums.h + The color depth of this LED, see :cpp:enum:`ratbag_led_colordepth`. .. attribute:: EffectDuration