DOKK / manpages / debian 12 / libx11-doc / XkbFindOverlayForKey.3.en
XkbFindOverlayForKey(3) XKB FUNCTIONS XkbFindOverlayForKey(3)

XkbFindOverlayForKey - Find the alternate name by using the primary name for a key that is part of an overlay

char * XkbFindOverlayForKey (XkbGeometryPtr geom, XkbSectionPtr section, _Xconst char *under);

geometry that contains the section
section to be searched for matching keys
primary name of the key to be considered

Keys that can generate multiple keycodes may be associated with multiple names. Such keys have a primary name and an alternate name.

XkbFindOverlayForKey uses the primary name of the key, under, to look up the alternate name, which it returns.

libX11 1.8.4 X Version 11