diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2020-06-30 23:28:40 +0300 |
---|---|---|
committer | Povilas Kanapickas <povilas@radix.lt> | 2020-08-18 09:36:39 +0000 |
commit | 97b47b5065be386ce96a7653937b83c3717695f6 (patch) | |
tree | d8e7138f803a4bcffdebc9477237ac722a0e8e1d /specs/XI2proto.txt | |
parent | 5371f0d4f88e83921e65955851a3bcab6ee720ef (diff) |
specs: Improve description of detail field in DeviceEvent
Diffstat (limited to 'specs/XI2proto.txt')
-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 |