Reference

XkbSARedirectVMods(3) on Linux

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

Returns the vmods0 and vmods1 fields of act converted to an unsigned int

XkbSARedirectVMods(3) on Linux now