Reference

XFreeDeviceList(3x) on Linux

The text da5d01e3af64, as Debian 3.0 (Woody) shipped it.

list available input devices

XFreeDeviceList(3x) on Linux now