xcb_set_pointer_mapping(3)
π xcb_set_pointer_mapping(3) π
okay so bestie, welcome to the manual page for xcb_set_pointer_mapping β it's a lil XCB request function living in section 3 of the manual, and we're gonna get you all the way together on it. no gatekeeping here, we're learning this together fr fr π«Ά
πΈ NAME πΈ
xcb_set_pointer_mapping -
and yeah the description is literally just blank after the dash π the original page has nothing there, so I'm not gonna make something up. it's giving mysterious. it's giving "we'll find out together." moving on! π
β¨ SYNOPSIS β¨
first things first, the include:
#include <xcb/xproto.h>
π Request function
xcb_set_pointer_mapping_cookie_t
xcb_set_pointer_mapping(xcb_connection_t *conn, uint8_t map_len,
const uint8_t *map);
π Reply datastructure
typedef struct xcb_set_pointer_mapping_reply_t {
uint8_t response_type;
uint8_t status;
uint16_t sequence;
uint32_t length;
} xcb_set_pointer_mapping_reply_t;
π Reply function
xcb_set_pointer_mapping_reply_t
*xcb_set_pointer_mapping_reply(xcb_connection_t *conn,
xcb_set_pointer_mapping_cookie_t cookie,
xcb_generic_error_t **e);
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your lil lifeline to the server, the main character of every single one of these pages, no cap.map_lenβTODO: NOT YET DOCUMENTED.bestie the docs literally say that. I'm not gonna gaslight you with a made-up answer πmapβTODO: NOT YET DOCUMENTED.yeah. same energy. the original really said "figure it out" and honestly? iconic of it.
π₯ REPLY FIELDS π₯
response_typeβ the type of this reply, which in this case isXCB_SET_POINTER_MAPPING. this field is ALSO hanging out in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "how do you do, fellow replies" of it πsequenceβ the sequence number of the last request processed by the X11 server. it's the receipts, basically.lengthβ the length of the reply, measured in words. and reminder bestie: a word here is 4 bytes. don't get caught slipping on that.statusβ one of these values right here:XCB_MAPPING_STATUS_SUCCESSβTODO: NOT YET DOCUMENTED.XCB_MAPPING_STATUS_BUSYβTODO: NOT YET DOCUMENTED.XCB_MAPPING_STATUS_FAILUREβTODO: NOT YET DOCUMENTED.TODO: NOT YET DOCUMENTED.β yes there's a fourth stray TODO just vibing there with no label. the original really said "and one more for the road" π I'm keeping it exactly as it is, periodt.
π DESCRIPTION π
so the DESCRIPTION section is empty. like, completely. not a single word. the original page just... moves on. and I respect the commitment to minimalism but I also cannot invent lore that isn't there, so here we are: an empty description, beautifully preserved. it's giving "the silence is the message." π§
β RETURN VALUE β
Returns an xcb_set_pointer_mapping_cookie_t. πͺ
Errors have to be handled when you call the reply function, xcb_set_pointer_mapping_reply.
If you'd rather handle errors in the event loop instead, use xcb_set_pointer_mapping_unchecked. See xcb-requests(3) for details β that page is your bestie for the whole checked/unchecked situation, iykyk.
π ERRORS π
This request does never generate any errors.
literally never. zero. none. no errors, no drama, no mess. the calmest function in the whole library and we love that for it π«Ά
π SEE ALSO π
empty. nothing here. not a single cross-reference. the original just left the heading and dipped π
π AUTHOR π
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
and that's the whole page, bestie!! you ate that π
one last thing before you go β this page ships as part of X Version 11, libxcb 1.17.0, and it's the xcb_set_pointer_mapping(3) page you've been reading this whole time. so that's the source, the version, and the date-ish situation all wrapped up with a bow for you. go forth and map those pointers, queen πβ¨π¦
π¦ 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