From bbd5c7f94e042bfff5dbe104b2484d60815bf798 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 11 Jul 2016 17:13:34 +0200 Subject: tablet: change all degree values from int to wl_fixed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Hutterer Reviewed-by: Jason Gerecke Reviewed-by: Carlos Garnacho Reviewed-by: Bryce Harrington Reviewed-by: Jonas Ã…dahl --- unstable/tablet/tablet-unstable-v2.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/unstable/tablet/tablet-unstable-v2.xml b/unstable/tablet/tablet-unstable-v2.xml index 81e9835..de9217b 100644 --- a/unstable/tablet/tablet-unstable-v2.xml +++ b/unstable/tablet/tablet-unstable-v2.xml @@ -478,21 +478,21 @@ Sent whenever one or both of the tilt axes on a tool change. Each tilt - value is in 0.01 of a degree, relative to the z-axis of the tablet. + value is in degrees, relative to the z-axis of the tablet. The angle is positive when the top of a tool tilts along the positive x or y axis. - - + + Sent whenever the z-rotation axis on the tool changes. The - rotation value is in 0.01 of a degree clockwise from the tool's + rotation value is in degrees clockwise from the tool's logical neutral position. - + @@ -510,10 +510,10 @@ Sent whenever the wheel on the tool emits an event. This event contains two values for the same axis change. The degrees value is - in 0.01 of a degree in the same orientation as the - wl_pointer.vertical_scroll axis. The clicks value is in discrete - logical clicks of the mouse wheel. This value may be zero if the - movement of the wheel was less than one logical click. + in the same orientation as the wl_pointer.vertical_scroll axis. The + clicks value is in discrete logical clicks of the mouse wheel. This + value may be zero if the movement of the wheel was less + than one logical click. Clients should choose either value and avoid mixing degrees and clicks. The compositor may accumulate values smaller than a logical @@ -521,7 +521,7 @@ Thus, wl_tablet_tool.wheel events with non-zero clicks values may have different degrees values. - + -- cgit v1.2.3