Reference

XkbKeySymEntry(3) on Linux

The text 93f25a2fa509, as Debian 12 (Bookworm) shipped it.

Returns the keysym corresponding to shift level shift and group grp from the two-dimensional array of keysyms for the key corresponding to keycode

XkbKeySymEntry(3) on Linux now