XkbKeyKeyTypeIndex(3)

πŸ’… XkbKeyKeyTypeIndex(3) β€” straight from the XKB FUNCTIONS manual 🫢

✨ NAME ✨

XkbKeyKeyTypeIndex β€” obtain the index of a key type or the pointer to a key type. That’s the name section, bestie, and yes it says both index and pointer β€” not me making it up πŸ’€

πŸ“œ SYNOPSIS πŸ“œ

int XkbKeyKeyTypeIndex (XkbDescPtr xkb, KeyCode keycode, int group);

πŸŽ€ ARGUMENTS πŸŽ€

  • xkb β€” Xkb description of interest. Like, the Xkb description you’re working with.
  • keycode β€” keycode of interest. The specific keycode, no cap.
  • group β€” group index.

πŸ’– DESCRIPTION πŸ’–

Okay so here’s the tea: XkbKeyKeyTypeIndex computes an index into the types vector of the client map in xkb from the given keycode and group index. That’s the whole plot, and it ate πŸ’…


XkbKeyKeyTypeIndex(3) is iconic, periodt. Footer sign-off vibes: X Version 11 + libX11 1.8.14, with the page title right there too β€” and no date is shown in that footer, so no invented date energy πŸ™ˆπŸ’œ

πŸ“¦ where this page comes from