Reference

XkbKeyTypeIndex(3) on Linux

The text 47ca722b4a19, as Debian 6.0 (Squeeze) shipped it.

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

XkbKeyTypeIndex(3) on Linux now