input: add getter/setter for controlling input device event
Add a getter and setter function of input device event status
Input device event can be enabled/disabled by kernel inhibited node
which exist under the /sys/class/input/input(id) path.
These are function prototype to be added.
int hal_backend_device_common_input_set_event_state(int input_device_id, int on);
-> As follow above path, "(id)" will be replaced to input_device_id.
and this function will set the on parameter value to inhibited node(path)
int hal_backend_device_common_input_get_event_state(int input_device_id, int* on);
-> As follow above path, this function will read the inhibited node value
through the input_device_id.
Change-Id: I742edbbaec64cb7aeb2428aca7c50b0e7872accc
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
(cherry picked from commit
2b1bd811c34ffc5bdef9baeabc48b778e55dfcfe)