add hardkey backlight OAL functions 71/15371/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_release accepted/tizen/generic/20140303.073251 accepted/tizen/generic/20140313.075157 accepted/tizen/ivi/20140303.181336 accepted/tizen/ivi/20140313.165708 accepted/tizen/ivi/panda/20140318.013829 accepted/tizen/ivi/release/20140315.004849 accepted/tizen/mobile/20140303.022917 accepted/tizen/mobile/20140702.063336 submit/tizen/20140303.000000 submit/tizen/20140313.024924 submit/tizen_ivi_release/20140315.005117 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
authorjy910.yun <jy910.yun@samsung.com>
Mon, 24 Jun 2013 01:48:49 +0000 (10:48 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Mon, 20 Jan 2014 08:51:23 +0000 (09:51 +0100)
- 'OEM_sys_get/set_hardkey_backlight'

Change-Id: I153ddfe42132c5e3e3baf45fb44bcaa61fbc49cf
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
devices/led.c
include/device-node.h
include/devman_plugin_intf.h

index 925b306..2ee89db 100644 (file)
@@ -26,6 +26,8 @@ static int led_get_prop(int prop, int *val)
                return PLUGIN_GET(leds_torch_max_brightness)(val);
        case PROP_LED_BRIGHTNESS:
                return PLUGIN_GET(leds_torch_brightness)(val);
+       case PROP_LED_HARDKEY:
+               return PLUGIN_GET(hardkey_backlight)(val);
        }
 
        return -1;
@@ -36,6 +38,8 @@ static int led_set_prop(int prop, int val)
        switch (prop) {
        case PROP_LED_BRIGHTNESS:
                return PLUGIN_SET(leds_torch_brightness)(val);
+       case PROP_LED_HARDKEY:
+               return PLUGIN_SET(hardkey_backlight)(val);
        }
 
        return -1;
index 935bc18..60caccd 100644 (file)
@@ -115,6 +115,7 @@ enum {
 enum {
        PROP_LED_BRIGHTNESS,
        PROP_LED_MAX_BRIGHTNESS,
+       PROP_LED_HARDKEY,
 };
 
 /**
index 15e88af..c4e0587 100644 (file)
@@ -168,6 +168,9 @@ typedef struct {
 
        int     (*OEM_sys_get_hdmi_support) (int *value);
 
+
+       int     (*OEM_sys_get_hardkey_backlight) (int *value);
+       int     (*OEM_sys_set_hardkey_backlight) (int value);
 } OEM_sys_devman_plugin_interface;
 
 const OEM_sys_devman_plugin_interface *OEM_sys_get_devman_plugin_interface();