Reference

XFreeDeviceList(3) on Linux

The text 7ab6bbe50d7d, as Debian 7 (Wheezy) shipped it.

list available input devices

XFreeDeviceList(3) on Linux now