diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-08-14 19:30:24 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-01-06 16:11:15 +1000 |
commit | 3c1ebd1cfe71029ebc6a732a6b55308861e549e0 (patch) | |
tree | cafdfa78849fdbd556313e58bbe1adeee156babd | |
parent | 06da19e15c9d3a9e57f4fe89fe507a4fa7160a45 (diff) |
specs: note that axis values are non-sparse arrays
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | specs/XI2proto.txt | 12 |
1 files 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 |