Reference

XFreeDeviceList(3) on Linux

The text fd3f4285e9b7, as Debian 8 (Jessie) shipped it.

list available input devices

XFreeDeviceList(3) on Linux now