XkbFindOverlayForKey(3) XKB FUNCTIONS XkbFindOverlayForKey(3)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[*geom*](#geom)

geometry that contains the section

[*section*](#section)

section to be searched for matching keys

[*under*](#under)

primary name of the key to be considered

# [DESCRIPTION](#DESCRIPTION)

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.14 X Version 11

---

Document: XkbFindOverlayForKey(3) from libx11 1.8.14-r4 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
