diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-09 11:26:30 -0400 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-09 11:26:30 -0400 |
| commit | 68e0eaa2b55db5354fc25d64ef28eca30df1767b (patch) | |
| tree | 6b60d792af4ff4a06c4a5e9717f8be95a4de6407 /protocol | |
| parent | Update TODO (diff) | |
| download | wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.tar wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.tar.gz wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.tar.bz2 wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.tar.lz wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.tar.xz wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.tar.zst wayland-68e0eaa2b55db5354fc25d64ef28eca30df1767b.zip | |
TODO: More updates
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/wayland.xml | 100 |
1 files changed, 62 insertions, 38 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index d1c6f94..3268fdb 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -696,15 +696,29 @@ </event> </interface> - <interface name="wl_input_device" version="1"> - <description summary="input device group"> - A group of keyboards and pointer devices (mice, for - example). This object is published as a global during start up, + <interface name="wl_seat" version="1"> + <description summary="seat"> + A group of keyboards, pointer (mice, for example) and touch + devices . This object is published as a global during start up, or when such a device is hot plugged. A input_device group typically has a pointer and maintains a keyboard_focus and a pointer_focus. </description> + <event name="pointer"> + <arg name="name" type="uint"/> + </event> + + <event name="keyboard"> + <arg name="name" type="uint"/> + </event> + + <event name="touch"> + <arg name="name" type="uint"/> + </event> + </interface> + + <interface name="wl_pointer"> <request name="attach"> <description summary="set the pointer image"> Set the pointer's image. This request only takes effect if @@ -718,6 +732,27 @@ <arg name="hotspot_y" type="int"/> </request> + <event name="enter"> + <description summary="enter event"> + Notification that this input device's pointer is focused on + certain surface. When an input_device enters a surface, the + pointer image is undefined and a client should respond to this + event by setting an appropriate pointer image. + </description> + + <arg name="serial" type="uint"/> + <arg name="surface" type="object" interface="wl_surface"/> + <arg name="surface_x" type="fixed"/> + <arg name="surface_y" type="fixed"/> + </event> + + <event name="leave"> + <description summary="leave event"> + </description> + <arg name="serial" type="uint"/> + <arg name="surface" type="object" interface="wl_surface"/> + </event> + <event name="motion"> <description summary="pointer motion event"> Notification of pointer location change. The arguments surface_[xy] @@ -756,51 +791,40 @@ <arg name="axis" type="uint"/> <arg name="value" type="int"/> </event> + </interface> - <event name="key"> - <description summary="key event"> - A key was pressed or released. - </description> + <interface name="wl_keyboard" version="1"> + <description summary="keyboard input device"> + </description> + <event name="enter"> <arg name="serial" type="uint"/> - <arg name="time" type="uint"/> - <arg name="key" type="uint"/> - <arg name="state" type="uint"/> + <arg name="surface" type="object" interface="wl_surface"/> + <arg name="keys" type="array"/> </event> - <event name="pointer_enter"> - <description summary="pointer enter event"> - Notification that this input device's pointer is focused on - certain surface. When an input_device enters a surface, the - pointer image is undefined and a client should respond to this - event by setting an appropriate pointer image. - </description> - + <event name="leave"> <arg name="serial" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> - <arg name="surface_x" type="fixed"/> - <arg name="surface_y" type="fixed"/> </event> - <event name="pointer_leave"> - <description summary="pointer leave event"> + <event name="key"> + <description summary="key event"> + A key was pressed or released. </description> - <arg name="serial" type="uint"/> - <arg name="surface" type="object" interface="wl_surface"/> - </event> - <event name="keyboard_enter"> <arg name="serial" type="uint"/> - <arg name="surface" type="object" interface="wl_surface"/> - <arg name="keys" type="array"/> + <arg name="time" type="uint"/> + <arg name="key" type="uint"/> + <arg name="state" type="uint"/> </event> + </interface> - <event name="keyboard_leave"> - <arg name="serial" type="uint"/> - <arg name="surface" type="object" interface="wl_surface"/> - </event> + <interface name="wl_touch" version="1"> + <description summary="touch screen input device"> + </description> - <event name="touch_down"> + <event name="down"> <arg name="serial" type="uint"/> <arg name="time" type="uint"/> <arg name="surface" type="object" interface="wl_surface"/> @@ -809,26 +833,26 @@ <arg name="y" type="fixed" /> </event> - <event name="touch_up"> + <event name="up"> <arg name="serial" type="uint"/> <arg name="time" type="uint"/> <arg name="id" type="int" /> </event> - <event name="touch_motion"> + <event name="motion"> <arg name="time" type="uint"/> <arg name="id" type="int" /> <arg name="x" type="fixed" /> <arg name="y" type="fixed" /> </event> - <event name="touch_frame"> + <event name="frame"> <description summary="end of touch frame event"> Indicates the end of a contact point list. </description> </event> - <event name="touch_cancel"> + <event name="cancel"> <description summary="touch session cancelled"> Sent if the compositor decides the touch stream is a global gesture. No further events are sent to the clients from that |
