Reference

XFreeDeviceList(3) on Linux

The text 81998106bb58, as Debian 10 (Buster), Debian 9 (Stretch) shipped it.

list available input devices

XFreeDeviceList(3) on Linux now