Reference

XkbKeysymToModifiers(3) on Linux

The text f751c056e190, as Debian 7 (Wheezy) shipped it.

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

XkbKeysymToModifiers(3) on Linux now