Commit 97b47b50 authored by Povilas Kanapickas's avatar Povilas Kanapickas

specs: Improve description of detail field in DeviceEvent

parent 5371f0d4
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment