XkbKeyTypeIndex(3)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian bookworm

✨ XkbKeyTypeIndex ✨

okay bestie, welcome to the XKB FUNCTIONS corner of the libX11 manual, page XkbKeyTypeIndex(3) πŸ’… this one's a lil cutie β€” she finds you the index of a key type, or the pointer to a key type πŸŽ€


🌸 NAME 🌸

XkbKeyTypeIndex β€” Obtain the index of a key type or the pointer to a key type πŸ¦‹


🫢 SYNOPSIS 🫢

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

πŸ‘‘ ARGUMENTS πŸ‘‘

  • xkb β€” the Xkb description of interest, i.e. the one you're actually curious about, no cap πŸ’–
  • keycode β€” the keycode of interest. the key we're talking about, specifically πŸŽ€
  • group β€” group index. yes babe, the group. she's indexed πŸ’…

🌈 DESCRIPTION 🌈

okay so here's the tea πŸ“ XkbKeyTypeIndex computes an index into the types vector of the client map in xkb β€” and she gets that index from the given keycode and group index you handed her. that's literally the whole thing. she takes your keycode, she takes your group, and she serves you back a lil number that points into the types vector of the client map in xkb. iconic behaviour, honestly 🌟

ngl, that's it. no hidden lore, no secret flags. just a very focused queen doing exactly one job 🫢

πŸ’œ SEE YA πŸ’œ

this page came to you courtesy of X Version 11, libX11 1.8.4, and the XkbKeyTypeIndex(3) manual itself. mwah, go forth and index your key types bestie πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from