xcb_input_dev...notify_event_t(3)
π xcb_input_dev...notify_event_t(3) π
okay bestie, welcome to section 3 of the manual β this is one of the XCB Events pages, and today's main character is a little event struct with a truly unhinged number of NOT YET DOCUMENTED lines. we're gonna get through it together. π«Ά
β¨ NAME β¨
xcb_input_device_state_notify_event_t β that's it, that's the whole name, the manpage literally gives it a description shaped hole and honestly? relatable.
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/xinput.h>
π Event datastructure
here's the whole vibe, character for character, no cap:
typedef struct xcb_input_device_state_notify_event_t {
uint8_t response_type;
uint8_t device_id;
uint16_t sequence;
xcb_timestamp_t time;
uint8_t num_keys;
uint8_t num_buttons;
uint8_t num_valuators;
uint8_t classes_reported;
uint8_t buttons[4];
uint8_t keys[4];
uint32_t valuators[3];
} xcb_input_device_state_notify_event_t;
she's structured, she's typed, she's giving very much fixed-size-arrays-and-a-timestamp energy. π
π₯ EVENT FIELDS π₯
response_typeβ the type of this event, and in this case it'sXCB_INPUT_DEVICE_STATE_NOTIFY. this field is also chillin' in thexcb_generic_event_t, which is the whole point: it's how you tell your events apart from each other. one field, so many responsibilities. main character behaviour fr fr.sequenceβ the sequence number of the last request processed by the X11 server. it's the receipts. keep track of it. π§Ύdevice_idβNOT YET DOCUMENTED.πtimeβNOT YET DOCUMENTED.πnum_keysβNOT YET DOCUMENTED.πnum_buttonsβNOT YET DOCUMENTED.πnum_valuatorsβNOT YET DOCUMENTED.πclasses_reportedβNOT YET DOCUMENTED.πbuttonsβNOT YET DOCUMENTED.πkeysβNOT YET DOCUMENTED.πvaluatorsβNOT YET DOCUMENTED.π
bestie. that is nine fields in a row that are NOT YET DOCUMENTED. not me reading this like it's a group chat where everyone left me on read π we're just relaying the facts here β the source says what the source says, and it says nothing about these. i'm not gonna make stuff up for you, that's not the move. π
π¦ DESCRIPTION π¦
so... this section is empty. like, empty empty. there is no description in the original, so there's no description here. she's mysterious. she's elusive. she's keeping secrets. β
π SEE ALSO π
also empty! nothing to see here, literally. no cross-references were provided, so i'm not inventing any β you get exactly zero of them, and that's the honest count. π
π AUTHOR π
Generated from xinput.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
like, if something's wrong or missing, please email them, because clearly some fields are still waiting for their glow-up. π§β¨
and that's the page!! thanks for coming to my ted talk, ily, stay hydrated, go read your structs π
sign-off: this one came to you from X Version 11, rocking libxcb 1.17.0 β that's the whole footer, and honestly it deserved a shoutout instead of getting squished at the bottom of a terminal. slay. πβ¨π¦
π¦ 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