Reference

XkbKeysymToModifiers(3) on Linux

The text 079199ca2e88, as Debian 5.0 (Lenny) shipped it.

Finds the set of modifiers bound to a particular keysym on the core keyboard

XkbKeysymToModifiers(3) on Linux now