XkbGetDeviceInfo(3) on Linux
The text b4d49ac14e85, as Debian 8 (Jessie) shipped it.
Determine whether the X server allows Xkb access to particular capabilities of input devices other than the core X keyboard, or to determine the status of indicator maps, indicator names or button actions on a non-KeyClass extension device