Reference

XkbKeysymToModifiers(3) on Linux

The text c9b634274beb, as Debian 10 (Buster) shipped it.

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

XkbKeysymToModifiers(3) on Linux now