input: add the input dbus interface 47/285447/14 accepted/tizen/unified/20221220.180315
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 13 Dec 2022 02:41:35 +0000 (11:41 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 16 Dec 2022 07:00:27 +0000 (07:00 +0000)
commit4e1f541f0a9e027a64a5ba4e53e091fe5ef24853
tree608ad5783de6ba29c4f7517a0965d70c164de552
parent5f262d9d915ec4b49e6a78a0bec04bfb30f3fdfd
input: add the input dbus interface

Add a getter and setter function of input device event status
With input device id parameter, it is possible to enable/disable input device event

Input device event getter/setter dbus methods
1. Set input event state
    path: /Org/Tizen/System/DeviceD/Input
    interface: org.tizen.system.deviced.input
    member: InputSetEventState
    parameter: "(ii)", input device id to be set event state, value to be set
    return: "(i)", 0 on success, negative on error.
2. Get input event state
    path: /Org/Tizen/System/DeviceD/Input
    interface: org.tizen.system.deviced.input
    member: InputGetEventState
    parameter: "(i)", input device id to be get event state
    return: "(i)", get value on success, negative on error.

Change-Id: I820add4689222198e3cc9a24fd616382800bcf16
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/input/input-dbus.c [new file with mode: 0644]
src/input/input-dbus.h [new file with mode: 0644]
src/input/input.c