Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/fake-input.xml
Show All 10 Lines | 3 | <copyright><![CDATA[ | |||
---|---|---|---|---|---|
11 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU Lesser General Public License for more details. | 14 | GNU Lesser General Public License for more details. | ||
15 | 15 | | |||
16 | You should have received a copy of the GNU Lesser General Public License | 16 | You should have received a copy of the GNU Lesser General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | ]]></copyright> | 18 | ]]></copyright> | ||
19 | <interface name="org_kde_kwin_fake_input" version="2"> | 19 | <interface name="org_kde_kwin_fake_input" version="3"> | ||
zzag: Version of the interface has to be bumped. | |||||
20 | <description summary="Fake input manager"> | 20 | <description summary="Fake input manager"> | ||
21 | This interface allows other processes to provide fake input events. | 21 | This interface allows other processes to provide fake input events. | ||
22 | Purpose is on the one hand side to provide testing facilities like XTest on X11. | 22 | Purpose is on the one hand side to provide testing facilities like XTest on X11. | ||
23 | But also to support use case like kdeconnect's mouse pad interface. | 23 | But also to support use case like kdeconnect's mouse pad interface. | ||
24 | 24 | | |||
25 | A compositor should not trust the input received from this interface. | 25 | A compositor should not trust the input received from this interface. | ||
26 | Clients should not expect that the compositor honors the requests from this | 26 | Clients should not expect that the compositor honors the requests from this | ||
27 | interface. | 27 | interface. | ||
28 | </description> | 28 | </description> | ||
29 | <request name="authenticate"> | 29 | <request name="authenticate"> | ||
30 | <description summary="Information why the client wants to use the interface"> | 30 | <description summary="Information why the client wants to use the interface"> | ||
31 | A client should use this request to tell the compositor why it wants to | 31 | A client should use this request to tell the compositor why it wants to | ||
32 | use this interface. The compositor might use the information to decide | 32 | use this interface. The compositor might use the information to decide | ||
33 | whether it wants to grant the request. The data might also be passed to | 33 | whether it wants to grant the request. The data might also be passed to | ||
34 | the user to decide whether the application should get granted access to | 34 | the user to decide whether the application should get granted access to | ||
35 | this very privileged interface. | 35 | this very privileged interface. | ||
36 | </description> | 36 | </description> | ||
37 | <arg name="application" type="string" description="user visible name of the application"/> | 37 | <arg name="application" type="string" description="user visible name of the application"/> | ||
38 | <arg name="reason" type="string" description="reason why the application wants to use this interface"/> | 38 | <arg name="reason" type="string" description="reason why the application wants to use this interface"/> | ||
39 | </request> | 39 | </request> | ||
40 | <request name="pointer_motion"> | 40 | <request name="pointer_motion"> | ||
41 | <arg name="delta_x" type="fixed"/> | 41 | <arg name="delta_x" type="fixed"/> | ||
42 | <arg name="delta_y" type="fixed"/> | 42 | <arg name="delta_y" type="fixed"/> | ||
43 | </request> | 43 | </request> | ||
44 | <request name="button"> | 44 | <request name="button"> | ||
graesslin: New requests can only be added at end. Since is missing. | |||||
45 | <arg name="button" type="uint"/> | 45 | <arg name="button" type="uint"/> | ||
46 | <arg name="state" type="uint"/> | 46 | <arg name="state" type="uint"/> | ||
47 | </request> | 47 | </request> | ||
48 | <request name="axis"> | 48 | <request name="axis"> | ||
49 | <arg name="axis" type="uint"/> | 49 | <arg name="axis" type="uint"/> | ||
50 | <arg name="value" type="fixed"/> | 50 | <arg name="value" type="fixed"/> | ||
51 | </request> | 51 | </request> | ||
52 | <request name="touch_down" since="2"> | 52 | <request name="touch_down" since="2"> | ||
Show All 25 Lines | 76 | <description summary="touch cancel event"> | |||
78 | touch event. | 78 | touch event. | ||
79 | </description> | 79 | </description> | ||
80 | </request> | 80 | </request> | ||
81 | <request name="touch_frame" since="2"> | 81 | <request name="touch_frame" since="2"> | ||
82 | <description summary="touch frame event"> | 82 | <description summary="touch frame event"> | ||
83 | A client should use this request to send touch frame event. | 83 | A client should use this request to send touch frame event. | ||
84 | </description> | 84 | </description> | ||
85 | </request> | 85 | </request> | ||
86 | <request name="pointer_motion_absolute"> | ||||
zzag: since="3" | |||||
87 | <arg name="x" type="fixed"/> | ||||
88 | <arg name="y" type="fixed"/> | ||||
89 | </request> | ||||
86 | </interface> | 90 | </interface> | ||
87 | </protocol> | 91 | </protocol> |
Version of the interface has to be bumped.