input: add the dbus interface and input config parser
Add input device information dbus methods
Input event on/off option can be handled by device id number.
With config file, user can set the customed input devices
and input-parser will mananging input devices from it.
[InputDeivce] format which is in input.conf
InputDeviceType -> hal_deivce_input_type
InputDeviceId -> id number which exist under the /sys/class/input/inputXX path
InputDeviceName -> device name
InputDeviceDefault -> yes/no
Input dbus methods
1. Get input devices
path: /Org/Tizen/System/DeviceD/Input
interface: org.tizen.system.deviced.input
member: InputGetDevices
parameter: "(i)", input device type to get device id list
return: "(ai)", get int device id list on success, empty list on error.
2. Get default device
path: /Org/Tizen/System/DeviceD/Input
interface: org.tizen.system.deviced.input
member: InputGetDefaultDevice
parameter: "(i)", input device type to get default devicd id
return: "(i)", get device id value on success, negative on error.
3. Get device name
path: /Org/Tizen/System/DeviceD/Input
interface: org.tizen.system.deviced.input
member: InputGetDeviceName
parameter: "(i)", input device id to get device name
return: "(is)", (ret_val, ret_dev_name)
negative ret_val means error, otherwise success.
Change-Id: I0977c29f538f432cb5ab82e610130698ce7ad5b9
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>