XCB_INPUT_RAW_KEY_PRESS_EVENT_T(3)
π xcb_input_raw_key_press_event_t π
okay so bestie, welcome to xcb_input_raw_key_press_event_t(3), straight out of the XCB Events corner of the manual. it's giving "struct that holds one raw key press event" and honestly? we're obsessed. let's get into it π«Ά
β¨ NAME β¨
xcb_input_raw_key_press_event_t β literally just the name, that's it, the manpage left it at that π
β¨ SYNOPSIS β¨
first up, you gotta bring in the header, no cap:
#include <xcb/xinput.h>
π¦ Event datastructure π¦
and here's the whole struct, character for character, do not freestyle this one:
typedef struct xcb_input_raw_key_press_event_t {
uint8_t response_type;
uint8_t extension;
uint16_t sequence;
uint32_t length;
uint16_t event_type;
xcb_input_device_id_t deviceid;
xcb_timestamp_t time;
uint32_t detail;
xcb_input_device_id_t sourceid;
uint16_t valuators_len;
uint32_t flags;
uint8_t pad0[4];
uint32_t full_sequence;
} xcb_input_raw_key_press_event_t;
πΈ EVENT FIELDS πΈ
okay so here's the field-by-field breakdown, and yes we're going through every single one, no skipping, we don't do that here π
response_typeβ the type of this event, and in this case it'sXCB_INPUT_RAW_KEY_RELEASE. (iconic little plot twist there, we simply report it as written β¨) this field also lives in thexcb_generic_event_t, so you can use it to tell your events apart from each other. very main character of it.sequenceβ the sequence number of the last request that got processed by the X11 server. it's the receipts, basically π§ΎextensionβNOT YET DOCUMENTED.πlengthβNOT YET DOCUMENTED.πevent_typeβNOT YET DOCUMENTED.πdeviceidβNOT YET DOCUMENTED.πtimeβNOT YET DOCUMENTED.πdetailβNOT YET DOCUMENTED.πsourceidβNOT YET DOCUMENTED.πvaluators_lenβNOT YET DOCUMENTED.πflagsβNOT YET DOCUMENTED.πfull_sequenceβNOT YET DOCUMENTED.π
bestie the manpage really said "mystery" for like eleven fields in a row and honestly? we respect the honesty. lowkey a whole vibe. π
π DESCRIPTION π
soβ¦ there's a DESCRIPTION section. and it is empty. nothing. a whole heading with no text under it. not me getting emotionally attached to a blank section π
π SEE ALSO π
and the SEE ALSO section? also empty. no references. no siblings. no nothing. it's giving lone wolf energy πΊβ¨
π AUTHOR π
generated from xinput.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're accepting notes fr fr π«Ά
and that's the whole page, bestie!! X Version 11, libxcb 1.17, and this lil cutie of a manpage said its goodbyes right there on the last line. mwah π β¨π
π¦ 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