xcb_mapping_notify_event_t(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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's XCB_MAPPING_NOTIFY. it's also chillin' in the xcb_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.