From: Youngjae Cho Date: Mon, 21 Aug 2023 06:49:29 +0000 (+0900) Subject: plugin-api: deviced: Add attribute for custom brightness X-Git-Tag: accepted/tizen/unified/20230823.021351~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F297510%2F1;p=platform%2Fcore%2Fsystem%2Flibsyscommon.git plugin-api: deviced: Add attribute for custom brightness New attribute: - id: DEVICED_DISPLAY_ATTR_INT_CUSTOM_BRIGHTNESS - type: SYSCOMMON_RESMAN_DATA_TYPE_INT - setter: O - getter: O It gets whether custom brightness is set or not. And it enables the custom brightness when it sets attrbute by a value other than 0. Change-Id: I6ba2c27f82d76933633e3322248d99fd2bc6df35 Signed-off-by: Youngjae Cho --- diff --git a/src/plugin-api/deviced/include/syscommon-plugin-deviced-display-interface.h b/src/plugin-api/deviced/include/syscommon-plugin-deviced-display-interface.h index be00316..6f1dfac 100644 --- a/src/plugin-api/deviced/include/syscommon-plugin-deviced-display-interface.h +++ b/src/plugin-api/deviced/include/syscommon-plugin-deviced-display-interface.h @@ -37,6 +37,7 @@ extern "C" { #define DEVICED_DISPLAY_ATTR_TUPLE2_SET_CURRENT_STATE (1ULL << 2) #define DEVICED_DISPLAY_ATTR_INT_DPMS_STATE (1ULL << 3) #define DEVICED_DISPLAY_ATTR_TUPLE2_SET_DISPLAY_DIRECT (1ULL << 4) +#define DEVICED_DISPLAY_ATTR_INT_CUSTOM_BRIGHTNESS (1ULL << 5) enum syscommon_deviced_display_state { SYSCOMMON_DEVICED_DISPLAY_STATE_START,