xcb_input_allow_device_events(3)
πΈ xcb_input_allow_device_events β the XCB Requests girlies' entry π
okay so bestie, this is the manual page for xcb_input_allow_device_events(3), living in the XCB Requests section of the manual. she's giving mysterious, she's giving cryptic, she's lowkey hiding her whole personality from us π but we're gonna read her anyway, periodt.
β¨ NAME β¨
so the NAME line is... literally empty. like, blank blank. nothing. the void. π«₯
no cap, the original page just has the function name and then a big fat nothing where the description should be. it's giving "she's an enigma". we move. π
π¦ SYNOPSIS π¦
first up, you gotta pull in the header, bestie:
#include <xcb/xinput.h>
and here's the request function itself β copy it exactly, don't freestyle:
xcb_void_cookie_t xcb_input_allow_device_events(xcb_connection_t *conn,
xcb_timestamp_t time, uint8_t mode, uint8_t device_id);
look at her. four args. no notes. π
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. this is your link to the server, your main character hotline βοΈ every XCB request needs one, iykyk.timeβ TODO: NOT YET DOCUMENTED. yeah. that's it. that's the whole description. the docs said "we'll finish this later" and then simply did not πmodeβ TODO: NOT YET DOCUMENTED. same energy, different parameter. iconic in a cursed way.device_idβ TODO: NOT YET DOCUMENTED. bestie they really left all three of these on read π
π DESCRIPTION π
and the DESCRIPTION section is... empty too. like, nothing. zero. the silence is deafening. π¦
this is one of those pages where the docs are still loading, so pls don't come for me β I'm just the messenger. all the vibes, none of the prose. β¨
π RETURN VALUE π
okay so here's actual info, slay:
this one returns an xcb_void_cookie_t. and because it's a void cookie, any errors (if there even are any) have to be handled over in your event loop, not right here. so set up your event loop, bestie, she's where the drama happens π₯
and if you'd rather catch errors directly instead of waiting around in the event loop β and honestly, sometimes a girl just needs instant answers β use xcb_request_check instead, paired with xcb_input_allow_device_events_checked. π
for the full tea on how cookies and checked-vs-unchecked work, go read xcb-requests(3). it's the lore. π
π ERRORS π
good news, genuinely:
this request does never generate any errors. not one. zero errors. clean hands, clear conscience, no notes. π β¨
so you can breathe, babe. this one's not gonna blow up in your face.
πΈ SEE ALSO πΈ
...nothing here either. the SEE ALSO section is empty. no cross-refs, no friends, just her standing alone in the hallway. solitude queen. π¦
π AUTHOR π
this page was generated from xinput.xml. if you spot something wrong or wanna send corrections and improvements, hit up xcb@lists.freedesktop.org β they're literally asking for it, so don't be shy, bestie. π§π
and that's the whole page, fr fr. tysm for reading, ily π«Ά
X Version 11 Β· libxcb 1.17.0 β that's the source and version, and this page is xcb_input_allow_device_events(3), so if you ever need her again, she's right there in the manual. 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