xcb_input_dev...notify_event_t(3)
π xcb_input_device_mapping_notify_event_t π
okay bestie, we're deep in the XCB Events section of the manual, and today's main character is xcb_input_dev...notify_event_t β specifically the xcb_input_device_mapping_notify_event_t β¨. It's giving "struct with a mystery backstory" and honestly? We're obsessed. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
First things first, you gotta bring in the header or nothing works, no cap:
#include <xcb/xinput.h>
π Event datastructure
Here's the whole glow-up, exactly as it lives in the wild:
typedef struct xcb_input_device_mapping_notify_event_t {
uint8_t response_type;
uint8_t device_id;
uint16_t sequence;
uint8_t request;
xcb_input_key_code_t first_keycode;
uint8_t count;
uint8_t pad0;
xcb_timestamp_t time;
uint8_t pad1[20];
} xcb_input_device_mapping_notify_event_t;
β¨ EVENT FIELDS β¨
every field is a lil icon in its own right, let's do a vibe check on each one π
response_typeβ the type of this event, and in this case it's literallyXCB_INPUT_DEVICE_MAPPING_NOTIFY. plot twist: this field also shows up in thexcb_generic_event_t, so you can use it to tell your events apart from each other. very "which one of y'all is this" energy πsequenceβ the sequence number of the last request processed by the X11 server. the receipts, basically π§Ύdevice_idβ NOT YET DOCUMENTED. the mystery. the enigma. we don't know her yet πrequestβ NOT YET DOCUMENTED. same boat, babe πfirst_keycodeβ NOT YET DOCUMENTED. the docs are leaving us on read πcountβ NOT YET DOCUMENTED. it counts, allegedly πtimeβ NOT YET DOCUMENTED. no timestamps for the timestamps field, ironic π
ngl, a lot of these are "NOT YET DOCUMENTED" β that's not me being shady, that's literally what the manpage says. it's canon, bestie. don't @ me πΈ
π¦ DESCRIPTION π¦
...and that's it. The DESCRIPTION section is empty. iconic behavior honestly. it said "I contain multitudes" and then contained zero words π
π SEE ALSO π
Nothing here either, bestie. The SEE ALSO section is a quiet little void. Sometimes a girl just doesn't have references β¨
π AUTHOR π
This page was generated from xinput.xml. If you spot something that needs fixing or improving, hit up xcb@lists.freedesktop.org β they're the ones who take corrections and improvements π«Ά
and that's the whole page, periodt π
generated from xinput.xml with love, coming to you from X Version 11 and libxcb 1.17.0 β stay slay, stay documented, and may all your events be told apart correctly ππβ¨
π¦ 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