Reference

XkbKeysymToModifiers(3) on Linux

The text 5b05975cce8f, as Debian 9 (Stretch) shipped it.

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

XkbKeysymToModifiers(3) on Linux now