mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-07 08:21:33 -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">
|
<event name="axis">
|
||||||
<description summary="axis event">
|
<description summary="axis event">
|
||||||
Scroll and other axis notifications. The value parameter
|
Scroll and other axis notifications.
|
||||||
is the length of a vector along an axis in a coordinate space
|
|
||||||
identical to those of motion events, representing the relative
|
For scroll events (vertical and horizontal scroll axes), the
|
||||||
movement along an axis.
|
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>
|
</description>
|
||||||
|
|
||||||
<arg name="time" type="uint"/>
|
<arg name="time" type="uint"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue