Reference

XChangeDeviceControl(3) on Linux

The text 3a0c80795e4c, as Debian 4.0 (Etch) shipped it.

query and change input device controls

XChangeDeviceControl(3) on Linux now