xcb_xkb_set_device_info(3)
β¨ xcb_xkb_set_device_info β¨
okay bestie, welcome to another XCB Requests baddie: xcb_xkb_set_device_info(3). it's a whole request function, it lives in the XKB corner of libxcb, and it is genuinely here to set device info. no cap. π
πΈ NAME πΈ
xcb_xkb_set_device_info β and honestly? the upstream page left the description blank. like, empty. nothing. a lil dash and vibes. so that's what we're working with, bestie π (we still love her)
π SYNOPSIS π
first things first, you gotta pull in the header:
#include <xcb/xkb.h>
β¨ Request function β¨
xcb_void_cookie_t xcb_xkb_set_device_info(xcb_connection_t *conn,
xcb_xkb_device_spec_t deviceSpec, uint8_t firstBtn,
uint8_t nBtns, uint16_t change, uint16_t nDeviceLedFBs, const
xcb_xkb_action_t *btnActions, const
xcb_xkb_device_led_info_t *leds);
look at all those params. she's thorough. she's committed. periodt π
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your whole lil link to the X server, the main character of every request, as always πdeviceSpecβTODO: NOT YET DOCUMENTED.(the docs said "figure it out" and honestly same π)firstBtnβTODO: NOT YET DOCUMENTED.nBtnsβTODO: NOT YET DOCUMENTED.changeβTODO: NOT YET DOCUMENTED.nDeviceLedFBsβTODO: NOT YET DOCUMENTED.btnActionsβTODO: NOT YET DOCUMENTED.ledsβTODO: NOT YET DOCUMENTED.
bestie, real talk: every single one of these is literally marked TODO: NOT YET DOCUMENTED. in the original. i'm not hiding anything from you β that is the documentation. iconic in a cursed way π«Ά
π DESCRIPTION π
...it's empty. that's it. that's the section. the original has a DESCRIPTION heading and then absolutely nothing underneath it, and i refuse to invent lore that isn't there. we respect the mystery πβ¨
π RETURN VALUE π
she hands you back an xcb_void_cookie_t. and because it's a void cookie, any errors (if any even show up) have to be handled over in the event loop β that's just how the void girls do it.
if you'd rather deal with errors directly using xcb_request_check, then you want xcb_xkb_set_device_info_checked instead. slay, there's a checked twin for exactly this π
for the full tea, go read xcb-requests(3).
π₯ ERRORS π₯
this request does never generate any errors. not one. zero. a peaceful, unbothered queen π
π SEE ALSO π
(blank. nothing listed. just empty space where the cross-references would be. we love a minimalist moment π)
π AUTHOR π
generated from xkb.xml. if you spot something wrong or wanna send improvements, hit up xcb@lists.freedesktop.org β they're the ones who want your corrections and improvements, so don't be shy bestie π«Ά
k that's the whole page, you absolutely ate this one. this lil rewrite is chillin' on X Version 11, running libxcb 1.17.0, and it's page xcb_xkb_set_device_info(3) β take care of her, mwah π
πβ¨
π¦ 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