Reference

XkbVirtualModsToReal(3) on Linux

The text 1cf595730a07, as Debian 13 (Trixie) shipped it.

Determines the mapping of virtual modifiers to core X protocol modifiers

XkbVirtualModsToReal(3) on Linux now