xcb_xkb_set_controls(3)
β¨ xcb_xkb_set_controls β¨
okay bestie, welcome to the xcb_xkb_set_controls page, it's a classic XCB Requests moment and honestly? it's giving "underdocumented but iconic". let's get into it π
πΈ NAME πΈ
xcb_xkb_set_controls β (the NAME line is literally just the function name with nothing after it, no cap, the original is out here with zero explanation and we respect the mystery π«Ά)
π¦ SYNOPSIS π¦
#include <xcb/xkb.h>
Request function
xcb_void_cookie_t xcb_xkb_set_controls(xcb_connection_t *conn,
xcb_xkb_device_spec_t deviceSpec, uint8_t affectInternalRealMods,
uint8_t internalRealMods, uint8_t affectIgnoreLockRealMods,
uint8_t ignoreLockRealMods, uint16_t affectInternalVirtualMods,
uint16_t internalVirtualMods,
uint16_t affectIgnoreLockVirtualMods,
uint16_t ignoreLockVirtualMods, uint8_t mouseKeysDfltBtn,
uint8_t groupsWrap, uint16_t accessXOptions,
uint32_t affectEnabledControls, uint32_t enabledControls,
uint32_t changeControls, uint16_t repeatDelay,
uint16_t repeatInterval, uint16_t slowKeysDelay,
uint16_t debounceDelay, uint16_t mouseKeysDelay,
uint16_t mouseKeysInterval, uint16_t mouseKeysTimeToMax,
uint16_t mouseKeysMaxSpeed, int16_t mouseKeysCurve,
uint16_t accessXTimeout, uint32_t accessXTimeoutMask,
uint32_t accessXTimeoutValues,
uint16_t accessXTimeoutOptionsMask,
uint16_t accessXTimeoutOptionsValues, const
uint8_t *perKeyRepeat);
look at that signature. thirty-one arguments. she's long and she knows it π
π REQUEST ARGUMENTS π
bestie I'm gonna be so real with you, the original docs for every single one of these say the exact same thing, so I'm giving you the honest-to-god truth for each one: nobody wrote it down. that's not me being lazy, that is literally what the page says. here we go, one by one, no skips π
connβ your XCB connection to X11. the classic. the moment. the vibe. π₯deviceSpecβ TODO: NOT YET DOCUMENTED.affectInternalRealModsβ TODO: NOT YET DOCUMENTED.internalRealModsβ TODO: NOT YET DOCUMENTED.affectIgnoreLockRealModsβ TODO: NOT YET DOCUMENTED.ignoreLockRealModsβ TODO: NOT YET DOCUMENTED.affectInternalVirtualModsβ TODO: NOT YET DOCUMENTED.internalVirtualModsβ TODO: NOT YET DOCUMENTED.affectIgnoreLockVirtualModsβ TODO: NOT YET DOCUMENTED.ignoreLockVirtualModsβ TODO: NOT YET DOCUMENTED.mouseKeysDfltBtnβ TODO: NOT YET DOCUMENTED.groupsWrapβ TODO: NOT YET DOCUMENTED.accessXOptionsβ TODO: NOT YET DOCUMENTED.affectEnabledControlsβ TODO: NOT YET DOCUMENTED.enabledControlsβ TODO: NOT YET DOCUMENTED.changeControlsβ TODO: NOT YET DOCUMENTED.repeatDelayβ TODO: NOT YET DOCUMENTED.repeatIntervalβ TODO: NOT YET DOCUMENTED.slowKeysDelayβ TODO: NOT YET DOCUMENTED.debounceDelayβ TODO: NOT YET DOCUMENTED.mouseKeysDelayβ TODO: NOT YET DOCUMENTED.mouseKeysIntervalβ TODO: NOT YET DOCUMENTED.mouseKeysTimeToMaxβ TODO: NOT YET DOCUMENTED.mouseKeysMaxSpeedβ TODO: NOT YET DOCUMENTED.mouseKeysCurveβ TODO: NOT YET DOCUMENTED.accessXTimeoutβ TODO: NOT YET DOCUMENTED.accessXTimeoutMaskβ TODO: NOT YET DOCUMENTED.accessXTimeoutValuesβ TODO: NOT YET DOCUMENTED.accessXTimeoutOptionsMaskβ TODO: NOT YET DOCUMENTED.accessXTimeoutOptionsValuesβ TODO: NOT YET DOCUMENTED.perKeyRepeatβ TODO: NOT YET DOCUMENTED.
not a single one of these is documented yet π that's the whole energy of this page. thirty-one placeholders and a dream.
π DESCRIPTION π
okay so. the DESCRIPTION section? it's empty. there is nothing in it. zero words. the void. the silence. she said "no thoughts, head empty" and meant it π
β RETURN VALUE β
it hands you back an xcb_void_cookie_t. that's it, that's the return. and because it's a void cookie, any errors (if there even are any) have to be handled in the event loop, not right here on the spot.
if you'd rather catch errors immediately with xcb_request_check, then use xcb_xkb_set_controls_checked instead. full details live in xcb-requests(3) β go read it, it's worth it π«Ά
π ERRORS π
This request does never generate any errors.
(yes queen, zero errors, not one, that's the actual sentence and we're keeping it exactly like that π)
π§ SEE ALSO π§
nothing listed here! the SEE ALSO section is empty. no references, no friends, just vibes π¦
π AUTHOR π
Generated from xkb.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
like, please do email them, bestie, this page needs it π
and that's the whole thing! this page is from X Version 11, libxcb 1.17.0, and the date on it is xcb_xkb_set_controls(3)'s own footer moment β so shoutout to that version and that release for giving us thirty-one undocumented arguments to obsess over. slay, stay curious, and always read your xcb-requests(3). periodt π
β¨π
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms