1 <protocol name="ico_input_mgr">
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.
9 <request name="add_input_app">
10 <description summary="assign input switch to application">
11 Assign input switch to application from HomeScreen.
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"/>
19 <request name="del_input_app">
20 <description summary="de-assign input switch to application">
21 De-assign input switch to application from HomeScreen.
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"/>
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.
35 <event name="capabilities">
36 <description summary="event to application for input switch information">
37 Send Input device and switch information to application
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"/>
48 <description summary="event to application for input code information">
49 Send Input code information to application
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"/>
58 <description summary="event to application for switch input">
59 Send Input switch event to application
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"/>
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.
76 <description summary="capability bitmask">
77 Input Controller type mask define.
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"/>
85 <request name="configure_input">
86 <description summary="input controller define input switch">
87 Define input switch from Input Controller
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"/>
97 <request name="configure_code">
98 <description summary="input controller define input code">
99 Define input code from Input Controller
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"/>
107 <request name="input_event">
108 <description summary="input controller switch input event">
109 Event of switch input from Input Controller
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"/>