Reference

XFreeDeviceList(3) on Linux

The text 3fc349da835b, as Debian 11 (Bullseye) shipped it.

list available input devices

XFreeDeviceList(3) on Linux now