xcb_mapping_notify_event_t(3)
π xcb_mapping_notify_event_t β a whole page from the XCB Events manual, bestie π
okay so real talk: this is the manpage for xcb_mapping_notify_event_t, and it is literally the event that slides into your DMs to say "hey the keyboard mapping changed." That's it. That's the whole vibe. Keyboard map? Changed. π
β¨ NAME β¨
xcb_mapping_notify_event_t β keyboard mapping changed πΉπ¦
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/xproto.h>
πΈ Event datastructure πΈ
here's the struct, copied exactly, do not touch a single character of her:
typedef struct xcb_mapping_notify_event_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint8_t request;
xcb_keycode_t first_keycode;
uint8_t count;
uint8_t pad1;
} xcb_mapping_notify_event_t;
look at her. pad0 and pad1 are just there holding space, main character energy fr. π«Ά
β¨ EVENT FIELDS β¨
response_typeβ the type of this event, and in this case it'sXCB_MAPPING_NOTIFY. it's also chillin' in thexcb_generic_event_t, so you can use it to tell your events apart from each other. it's giving name tag at a party πsequenceβ the sequence number of the last request that the X11 server processed. the receipts, basically π§Ύrequestβ no description in the source, bestie. it's giving mystery. πfirst_keycodeβ the first number in the range of the altered mapping. like, where the chaos starts β¨countβ the number of keycodes altered. how many keys got their little glow-up π
β¨ DESCRIPTION β¨
this section is empty in the original. yes, genuinely. nothing. a void. iconic behaviour honestly π
β¨ SEE ALSO β¨
xcb_generic_event_t(3)β go read this one too, she's the blueprint π
β¨ AUTHOR β¨
Generated from xproto.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're accepting notes, no cap π
and that's the page, bestie π«Ά this one came from X Version 11, libxcb 1.17.0, and yes the footer is literally just the manual page name again β xcb_mapping_notify_event_t(3) β so consider yourself signed off with a little kiss ππ 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