mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
protocol: Clarify pointer axis event
Pointer axis events are in the same coordinate space as motion events. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
6ac1cd692f
commit
de1b471318
1 changed files with 16 additions and 4 deletions
|
|
@ -987,10 +987,22 @@
|
|||
|
||||
<event name="axis">
|
||||
<description summary="axis event">
|
||||
Scroll and other axis notifications. The value parameter
|
||||
is the length of a vector along an axis in a coordinate space
|
||||
identical to those of motion events, representing the relative
|
||||
movement along an axis.
|
||||
Scroll and other axis notifications.
|
||||
|
||||
For scroll events (vertical and horizontal scroll axes), the
|
||||
value parameter is the length of a vector along the specified
|
||||
axis in a coordinate space identical to those of motion events,
|
||||
representing a relative movement along the specified axis.
|
||||
|
||||
For devices that support movements non-parallel to axes multiple
|
||||
axis events will be emitted.
|
||||
|
||||
When applicable, for example for touch pads, the server can
|
||||
choose to emit scroll events where the motion vector is
|
||||
equivalent to a motion event vector.
|
||||
|
||||
When applicable, clients can transform its view relative to the
|
||||
scroll distance.
|
||||
</description>
|
||||
|
||||
<arg name="time" type="uint"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue