summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-08-29 09:20:32 +1000
committerChase Douglas <chase.douglas@canonical.com>2011-09-07 10:27:44 -0700
commit1b40cc4ff63ebbf0a4b17507762b17fa1e91bea9 (patch)
tree8a67a0b898776aff848678f6f2672dd29cd360c7 /specs
parentb55d236a66a614b2192da6d8a7ed4b7d831976f5 (diff)
downloadxorg-proto-inputproto-1b40cc4ff63ebbf0a4b17507762b17fa1e91bea9.tar.gz
specs: extend XI2.1 raw events to include touch events
RawEvents are simple enough that we can re-use the detail field for the touch ID tracking and just update the respective event types. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'specs')
-rw-r--r--specs/XI2proto.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 7c5011c..e95a429 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -1819,6 +1819,9 @@ Version 2.1:
- TouchUpdate
- TouchOwnership
- TouchEnd
+ - RawTouchBegin
+ - RawTouchUpdate
+ - RawTouchEnd
All events have a set of common fields specified as EVENTHEADER.
@@ -2107,7 +2110,7 @@ that grabbed the device only.
eventtype
The type of event that occured on the device.
detail
- The button number or keycode.
+ The button number, keycode or touch ID*.
flags
Flags as described in DeviceEvent.
valuators_len
@@ -2119,6 +2122,8 @@ that grabbed the device only.
axisvalues_raw
Untransformed valuator data in device-native resolution.
+* since XI 2.1
+
[[events-enterleave]]
┌───
Enter or Leave or FocusIn or FocusOut