Reference

XFreeDeviceList(3x) on Linux

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

list available input devices

XFreeDeviceList(3x) on Linux now