TODO: More updates

This commit is contained in:
Kristian Høgsberg 2012-05-09 11:26:30 -04:00
parent 6b8816bab4
commit 68e0eaa2b5
2 changed files with 68 additions and 56 deletions

View file

@ -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,6 +791,22 @@
<arg name="axis" type="uint"/>
<arg name="value" type="int"/>
</event>
</interface>
<interface name="wl_keyboard" version="1">
<description summary="keyboard input device">
</description>
<event name="enter">
<arg name="serial" type="uint"/>
<arg name="surface" type="object" interface="wl_surface"/>
<arg name="keys" type="array"/>
</event>
<event name="leave">
<arg name="serial" type="uint"/>
<arg name="surface" type="object" interface="wl_surface"/>
</event>
<event name="key">
<description summary="key event">
@ -767,40 +818,13 @@
<arg name="key" type="uint"/>
<arg name="state" type="uint"/>
</event>
</interface>
<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>
<interface name="wl_touch" version="1">
<description summary="touch screen input device">
</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="pointer_leave">
<description summary="pointer leave event">
</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"/>
</event>
<event name="keyboard_leave">
<arg name="serial" type="uint"/>
<arg name="surface" type="object" interface="wl_surface"/>
</event>
<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