XkbKeyTypeIndex(3)
β¨ 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
- debian bookworm: libx11-doc 2:1.8.4-2+deb12u2
- Copyright (c) 1999, Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms