diff options
author | jy910.yun <jy910.yun@samsung.com> | 2013-06-24 10:48:49 +0900 |
---|---|---|
committer | Krzysztof Sasiak <k.sasiak@samsung.com> | 2014-01-20 09:51:23 +0100 |
commit | d65efaf311abaf22ffd0d9bc22c28182e003304a (patch) | |
tree | 3ae2389c7e79ba2812bba3aa056dc6946d5081f4 /devices/led.c | |
parent | 9821657756a1b461c1dd90719736096a153c5b2a (diff) | |
download | libdevice-node-d65efaf311abaf22ffd0d9bc22c28182e003304a.tar.gz libdevice-node-d65efaf311abaf22ffd0d9bc22c28182e003304a.tar.bz2 libdevice-node-d65efaf311abaf22ffd0d9bc22c28182e003304a.zip |
add hardkey backlight OAL functionstizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi_release/20140315.005117submit/tizen/20140313.024924submit/tizen/20140303.000000accepted/tizen/mobile/20140702.063336accepted/tizen/mobile/20140303.022917accepted/tizen/ivi/release/20140315.004849accepted/tizen/ivi/panda/20140318.013829accepted/tizen/ivi/20140313.165708accepted/tizen/ivi/20140303.181336accepted/tizen/generic/20140313.075157accepted/tizen/generic/20140303.073251tizen_ivi_releasetizen_3.0.m14.3_ivitizen_3.0.m14.2_ivitizen_3.0.2014.q3_commonaccepted/tizen_ivi_releaseaccepted/tizen_ivi_pandaaccepted/tizen_genericaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
- 'OEM_sys_get/set_hardkey_backlight'
Change-Id: I153ddfe42132c5e3e3baf45fb44bcaa61fbc49cf
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Diffstat (limited to 'devices/led.c')
-rw-r--r-- | devices/led.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devices/led.c b/devices/led.c index 925b306..2ee89db 100644 --- a/devices/led.c +++ b/devices/led.c @@ -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; |