Reference

XkbKeyTypeIndex(3) on Linux

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

Obtain the index of a key type or the pointer to a key type

XkbKeyTypeIndex(3) on Linux now