XkbGetXlibControls(3)

πŸ’– NAME πŸ’–

okay so bestie, welcome to XkbGetXlibControls(3) from the XKB FUNCTIONS manual β€” this one determines the current state of the Library Controls, and that’s literally its whole main character job. periodt. πŸ’…

✨ SYNOPSIS ✨

unsigned int XkbGetXlibControls (Display  *display);

πŸŽ€ ARGUMENTS πŸŽ€

  • display β€” connection to X server. that’s the whole argument, no cap. 🫢

🌸 DESCRIPTION 🌸

XkbGetXlibControls returns the current state of the Library Controls as a bit mask that is an inclusive OR of the control masks from Table 1 for the controls that are enabled. For the optional compose processing controls, the fact that a control is enabled does not imply that it is actually implemented. like, enabled does not automatically mean implemented β€” important caveat, bestie. 😭

πŸ¦‹ Table 1 Library Control Masks πŸ¦‹

here’s the table energy, with every mask and value kept exactly as given:

  • XkbLC_ForceLatin1Lookup β€” value (1 << 0)
  • XkbLC_ConsumeLookupMods β€” value (1 << 1)
  • XkbLC_AlwaysConsumeShiftAndLock β€” value (1 << 2)
  • XkbLC_IgnoreNewKeyboards β€” value (1 << 3)
  • XkbLC_ConsumeKeysOnComposeFail β€” value (1 << 29)
  • XkbLC_ComposeLED β€” value (1 << 30)
  • XkbLC_BeepOnComposeFail β€” value (1 << 31)
  • XkbLC_AllControls β€” value 0xc0000007

sign-off time, bestie: this page comes from X Version 11, libX11 1.8.14, and XkbGetXlibControls(3) β€” the footer didn’t give a separate date, so we’re not inventing one, fr fr. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from