diff options
-rw-r--r-- | specs/XI2proto.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt index d5747c9..36c57c5 100644 --- a/specs/XI2proto.txt +++ b/specs/XI2proto.txt @@ -2264,7 +2264,10 @@ KeyRelease, ButtonPress, ButtonRelease, Motion. XI 2.2: The event type may also be TouchBegin, TouchUpdate, or TouchEnd. detail - The button number, key code, touch ID, or 0. + Represents the key code in the cases of KeyPress and KeyRelease. + Represents the button number in the cases of ButtonPress and ButtonRelease. + Represents the touch ID in the cases of TouchBegin, TouchUpdate and TouchEnd. + In the case of Motion, the value will be 0. root event child |