Reference

XkbGetNamedDeviceIndicator(3) on Linux

The text b3f17283d1ca, as Debian 10 (Buster) shipped it.

Look up the indicator map and other information for an indicator by name

XkbGetNamedDeviceIndicator(3) on Linux now