Reference

XKeyEvent(3x) on Linux

The text a616de4e8b4e, as Debian 1.1 (Buzz) shipped it.

KeyPress, KeyRelease, ButtonPress, ButtonRelease, and MotionNotify event structures

XKeyEvent(3x) on Linux now