Reference

XkbKeyTypeIndex(3) on Linux

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

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

XkbKeyTypeIndex(3) on Linux now