XkbGetDeviceInfo(3) on Linux
The text 8fc47ad84ba5, as Debian 10 (Buster) 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