The text 300e78d46bb7, as Debian 6.0 (Squeeze) shipped it.
query the state of an extension input device.
XQueryDeviceState(3) on Linux now