From de1b4713180d6d87df188742d55379a98a7ea42d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonas=20=C3=85dahl?= Date: Wed, 3 Oct 2012 22:50:55 +0200 Subject: [PATCH] protocol: Clarify pointer axis event MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Pointer axis events are in the same coordinate space as motion events. Signed-off-by: Jonas Ådahl --- protocol/wayland.xml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 48a0d77..ca04431 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -987,10 +987,22 @@ - 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. -- 2.7.4