[PATCH inputproto] specs: note that axis values are non-sparse arrays

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 14 02:33:48 PDT 2013


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 specs/XI2proto.txt | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 79988fc..2f81bef 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -2290,7 +2290,9 @@ XI 2.2: The event type may also be TouchBegin, TouchUpdate, or TouchEnd.
     valuators
         Bitmask of valuators provided in axisvalues.
     axisvalues
-        Valuator data in device-native resolution.
+        Valuator data in device-native resolution. This is a non-sparse
+        array, value N represents the axis corresponding to the Nth bit set
+        in valuators.
     flags
         Miscellaneous information about this event; the union of the
         common flag set and either the key or pointer flag set,
@@ -2401,9 +2403,13 @@ when the device is grabbed by another client.
     valuators
         Bitmask of valuators provided in axisvalues and axisvalues_raw.
     axisvalues
-        Valuator data in device-native resolution.
+        Valuator data in device-native resolution. This is a non-sparse
+        array, value N represents the axis corresponding to the Nth bit set
+        in valuators.
     axisvalues_raw
-        Untransformed valuator data in device-native resolution.
+        Untransformed valuator data in device-native resolution. This is a
+        non-sparse array, value N represents the axis corresponding to the
+        Nth bit set in valuators.
 
     ¹ since XI 2.2
 
-- 
1.8.2.1



More information about the xorg-devel mailing list