U. Artie Eoff | 65e7e7a | 2012-12-07 13:50:29 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Derek Foreman | f6a6592 | 2015-02-24 09:32:14 -0600 | [diff] [blame] | 2 | <protocol name="weston_test"> |
U. Artie Eoff | 65e7e7a | 2012-12-07 13:50:29 -0800 | [diff] [blame] | 3 | |
| 4 | <copyright> |
| 5 | Copyright © 2012 Intel Corporation |
| 6 | |
| 7 | Permission to use, copy, modify, distribute, and sell this |
| 8 | software and its documentation for any purpose is hereby granted |
| 9 | without fee, provided that the above copyright notice appear in |
| 10 | all copies and that both that copyright notice and this permission |
| 11 | notice appear in supporting documentation, and that the name of |
| 12 | the copyright holders not be used in advertising or publicity |
| 13 | pertaining to distribution of the software without specific, |
| 14 | written prior permission. The copyright holders make no |
| 15 | representations about the suitability of this software for any |
| 16 | purpose. It is provided "as is" without express or implied |
| 17 | warranty. |
| 18 | |
| 19 | THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS |
| 20 | SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 21 | FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 22 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 23 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN |
| 24 | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
| 25 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF |
| 26 | THIS SOFTWARE. |
| 27 | </copyright> |
| 28 | |
Derek Foreman | f6a6592 | 2015-02-24 09:32:14 -0600 | [diff] [blame] | 29 | <interface name="weston_test" version="1"> |
| 30 | <description summary="weston internal testing"> |
| 31 | Internal testing facilities for the weston compositor. |
| 32 | |
| 33 | It can't be stressed enough that these should never ever be used |
| 34 | outside of running weston's tests. The weston-test.so module should |
| 35 | never be installed. |
| 36 | |
| 37 | These requests may allow clients to do very bad things. |
| 38 | </description> |
U. Artie Eoff | 65e7e7a | 2012-12-07 13:50:29 -0800 | [diff] [blame] | 39 | <request name="move_surface"> |
| 40 | <arg name="surface" type="object" interface="wl_surface"/> |
| 41 | <arg name="x" type="int"/> |
| 42 | <arg name="y" type="int"/> |
| 43 | </request> |
| 44 | <request name="move_pointer"> |
| 45 | <arg name="x" type="int"/> |
| 46 | <arg name="y" type="int"/> |
| 47 | </request> |
| 48 | <request name="send_button"> |
| 49 | <arg name="button" type="int"/> |
| 50 | <arg name="state" type="uint"/> |
| 51 | </request> |
| 52 | <request name="activate_surface"> |
| 53 | <arg name="surface" type="object" interface="wl_surface" allow-null="true"/> |
| 54 | </request> |
| 55 | <request name="send_key"> |
| 56 | <arg name="key" type="uint"/> |
| 57 | <arg name="state" type="uint"/> |
| 58 | </request> |
Marek Chalupa | c8daf77 | 2015-03-30 06:37:55 -0400 | [diff] [blame^] | 59 | <request name="device_release"> |
| 60 | <arg name="device" type="string"/> |
| 61 | </request> |
| 62 | <request name="device_add"> |
| 63 | <arg name="device" type="string"/> |
| 64 | </request> |
U. Artie Eoff | 65e7e7a | 2012-12-07 13:50:29 -0800 | [diff] [blame] | 65 | <event name="pointer_position"> |
| 66 | <arg name="x" type="fixed"/> |
| 67 | <arg name="y" type="fixed"/> |
| 68 | </event> |
Neil Roberts | 40c0c3f | 2013-10-29 20:13:45 +0000 | [diff] [blame] | 69 | <request name="get_n_egl_buffers"> |
| 70 | <!-- causes a n_egl_buffers event to be sent which reports how many |
| 71 | buffer objects are live for the client --> |
| 72 | </request> |
| 73 | <event name="n_egl_buffers"> |
| 74 | <arg name="n" type="uint"/> |
| 75 | </event> |
U. Artie Eoff | 65e7e7a | 2012-12-07 13:50:29 -0800 | [diff] [blame] | 76 | </interface> |
| 77 | </protocol> |