xcb_input_key_press_event_t(3)
π xcb_input_key_press_event_t π
okay so bestie, we're in the XCB Events part of the manual, and this whole page is about xcb_input_key_press_event_t β yes, the title is literally the whole name and the description slot is empty, no cap, that's just how this page ships. π«Ά
β¨ NAME β¨
xcb_input_key_press_event_t β and that's it. that's the name. the description field is giving void, giving nothing, giving blank. iconic of it honestly. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/xinput.h>
π¦ Event datastructure π¦
here's the whole struct, exactly as it is, don't touch a single character of it:
typedef struct xcb_input_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_window_t root;
xcb_window_t event;
xcb_window_t child;
uint32_t full_sequence;
xcb_input_fp1616_t root_x;
xcb_input_fp1616_t root_y;
xcb_input_fp1616_t event_x;
xcb_input_fp1616_t event_y;
uint16_t buttons_len;
uint16_t valuators_len;
xcb_input_device_id_t sourceid;
uint8_t pad0[2];
uint32_t flags;
xcb_input_modifier_info_t mods;
xcb_input_group_info_t group;
} xcb_input_key_press_event_t;
look at that. so many fields. main character struct energy fr fr. π
π EVENT FIELDS π
okay so here's the tea on every single field, one by one, no skipping, we're being thorough besties:
response_typeβ the type of this event, and in this case it'sXCB_INPUT_KEY_RELEASE. yes you read that right, the manpage really saysXCB_INPUT_KEY_RELEASEfor the key press event. that's what it says, and we do not editorialize, we just report. π this field is also hanging out in thexcb_generic_event_t, which is how you tell one event apart from another. super handy.sequenceβ the sequence number of the last request that the X11 server actually processed. like a little receipt number for your requests. π§ΎextensionβNOT YET DOCUMENTED.(the docs are being shy, we don't know her yet π)lengthβNOT YET DOCUMENTED.event_typeβNOT YET DOCUMENTED.deviceidβNOT YET DOCUMENTED.timeβNOT YET DOCUMENTED.detailβNOT YET DOCUMENTED.rootβNOT YET DOCUMENTED.eventβNOT YET DOCUMENTED.childβNOT YET DOCUMENTED.full_sequenceβNOT YET DOCUMENTED.root_xβNOT YET DOCUMENTED.root_yβNOT YET DOCUMENTED.event_xβNOT YET DOCUMENTED.event_yβNOT YET DOCUMENTED.buttons_lenβNOT YET DOCUMENTED.valuators_lenβNOT YET DOCUMENTED.sourceidβNOT YET DOCUMENTED.flagsβNOT YET DOCUMENTED.modsβNOT YET DOCUMENTED.groupβNOT YET DOCUMENTED.
lowkey a lot of "NOT YET DOCUMENTED" up in here π that's genuinely all the original gives us though, so we are NOT inventing lore. if you need these, go read the source, bestie. π
π DESCRIPTION π
...there is none. the DESCRIPTION section is empty. truly the "no thoughts, head empty" of manpage sections. we respect it. β¨
π SEE ALSO π
also empty bestie!! nothing to see, nothing to also. it's giving minimalism. π
π AUTHOR π
Generated from xinput.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they wanna hear from you, fr fr. π«Ά
and that's the whole page, babe! this one came from X Version 11 / libxcb 1.17.0, so if you cite it or file a bug, that's the version tea you need. πβ¨ππ¦πΈ
go forth and handle those input events, you gorgeous little X11 gremlin. 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