Reference

XkbKeySymEntry(3) on Linux

The text 4ceb8cae2d9b, as Debian 11 (Bullseye) 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