Removed log files, and add .gitignore file to prevent re-commit.
[profile/ivi/ico-uxf-weston-plugin.git] / protocol / ico_input_mgr.xml
1 <protocol name="ico_input_mgr">
2
3   <interface name="ico_input_mgr_control" version="1">
4     <description summary="interface for manager(ex.HomeScreen)">
5       Order a correspondence charge account to the application of the input switch
6       to Multi Input Manager from HomeScreen.
7     </description>
8
9     <request name="add_input_app">
10       <description summary="assign input switch to application">
11         Assign input switch to application from HomeScreen.
12       </description>
13       <arg name="appid" type="string" summary="application Id for input switch"/>
14       <arg name="device" type="string" summary="input device name"/>
15       <arg name="input" type="int" summary="input switch number"/>
16       <arg name="fix" type="uint" summary="fixed assign to application"/>
17     </request>
18
19     <request name="del_input_app">
20       <description summary="de-assign input switch to application">
21         De-assign input switch to application from HomeScreen.
22       </description>
23       <arg name="appid" type="string" summary="application Id for input switch, if NULL all applications with out fixed assign"/>
24       <arg name="device" type="string" summary="input device name, if NULL, all devices with out fixed assign"/>
25       <arg name="input" type="int" summary="input switch number, if -1, all input with out dixed assign"/>
26     </request>
27   </interface>
28
29   <interface name="ico_exinput" version="1">
30     <description summary="interface for application">
31       Inform the switch name and number which there is for application,
32       and notify application of ON/OFF of the switch.
33     </description>
34
35     <event name="capabilities">
36       <description summary="event to application for input switch information">
37         Send Input device and switch information to application
38       </description>
39       <arg name="device" type="string" summary="input device name"/>
40       <arg name="type" type="int" summary="input device type (as enum type)"/>
41       <arg name="swname" type="string" summary="input switch name"/>
42       <arg name="input" type="int" summary="input switch number"/>
43       <arg name="codename" type="string" summary="input code name"/>
44       <arg name="code" type="int" summary="input code number"/>
45     </event>
46
47     <event name="code">
48       <description summary="event to application for input code information">
49         Send Input code information to application
50       </description>
51       <arg name="device" type="string" summary="input device name"/>
52       <arg name="input" type="int" summary="input switch number"/>
53       <arg name="codename" type="string" summary="input code name"/>
54       <arg name="code" type="int" summary="input code number"/>
55     </event>
56
57     <event name="input">
58       <description summary="event to application for switch input">
59         Send Input switch event to application
60       </description>
61       <arg name="time" type="uint" summary="input time of miri-sec"/>
62       <arg name="device" type="string" summary="input device name"/>
63       <arg name="input" type="int" summary="input switch number"/>
64       <arg name="code" type="int" summary="input switch code"/>
65       <arg name="state" type="int" summary="Of/Off status"/>
66     </event>
67   </interface>
68
69   <interface name="ico_input_mgr_device" version="1">
70     <description summary="interface for input controller">
71       An input controller informs attribute of the device and ON/OFF of the switch
72       to Multi Input Manager.
73     </description>
74
75     <enum name="type">
76       <description summary="capability bitmask">
77        Input Controller type mask define.
78       </description>
79       <entry name="pointer" value="1" summary="wl_pointer"/>
80       <entry name="keyboard" value="2" summary="wl_keyboard"/>
81       <entry name="touch" value="4" summary="wl_touch"/>
82       <entry name="switch" value="8" summary="exinput switch"/>
83     </enum>
84
85     <request name="configure_input">
86       <description summary="input controller define input switch">
87         Define input switch from Input Controller
88       </description>
89       <arg name="device" type="string" summary="input device name"/>
90       <arg name="type" type="int" summary="input device type (as enum type)"/>
91       <arg name="swname" type="string" summary="input switch name"/>
92       <arg name="input" type="int" summary="input switch number"/>
93       <arg name="codename" type="string" summary="input code name"/>
94       <arg name="code" type="int" summary="input code number"/>
95     </request>
96
97     <request name="configure_code">
98       <description summary="input controller define input code">
99         Define input code from Input Controller
100       </description>
101       <arg name="device" type="string" summary="input device name"/>
102       <arg name="input" type="int" summary="input switch number"/>
103       <arg name="codename" type="string" summary="input code name"/>
104       <arg name="code" type="int" summary="input code number"/>
105     </request>
106
107     <request name="input_event">
108       <description summary="input controller switch input event">
109         Event of switch input from Input Controller
110       </description>
111       <arg name="time" type="uint" summary="input time of day"/>
112       <arg name="device" type="string" summary="input device name"/>
113       <arg name="input" type="int" summary="input switch number"/>
114       <arg name="code" type="int" summary="input switch code"/>
115       <arg name="state" type="int" summary="Of/Off status"/>
116     </request>
117   </interface>
118
119 </protocol>
120