xcb_input_list_input_devices(3)
π xcb_input_list_input_devices β XCB Requests β¨
okay bestie, welcome to xcb_input_list_input_devices(3), a section-3 manual page from the XCB Requests fam. this is the one that asks the X server to spill the tea on every input device it knows about. it's giving "let me see the roster" energy and honestly? iconic. π
π SYNOPSIS
#include <xcb/xinput.h>
π§ Request function
xcb_input_list_input_devices_cookie_t
xcb_input_list_input_devices(xcb_connection_t *conn,
π Reply datastructure
typedef struct xcb_input_list_input_devices_reply_t {
uint8_t response_type;
uint8_t xi_reply_type;
uint16_t sequence;
uint32_t length;
uint8_t devices_len;
uint8_t pad0[23];
} xcb_input_list_input_devices_reply_t;
π Reply function
xcb_input_list_input_devices_reply_t
*xcb_input_list_input_devices_reply(xcb_connection_t *conn,
xcb_input_list_input_devices_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
xcb_input_device_info_t *xcb_input_list_input_devices_devices(const
xcb_input_list_input_devices_request_t *reply);
int xcb_input_list_input_devices_devices_length(const
xcb_input_list_input_devices_reply_t *reply);
xcb_input_device_info_iterator_t
xcb_input_list_input_devices_devices_iterator(const
xcb_input_list_input_devices_reply_t *reply);
int xcb_input_list_input_devices_infos_length(const
xcb_input_list_input_devices_reply_t *reply);
xcb_input_input_info_iterator_t
xcb_input_list_input_devices_infos_iterator(const
xcb_input_list_input_devices_reply_t *reply);
int xcb_input_list_input_devices_names_length(const
xcb_input_list_input_devices_reply_t *reply);
xcb_str_iterator_t xcb_input_list_input_devices_names_iterator(const
xcb_input_list_input_devices_reply_t *reply);
uint8_t
*xcb_input_list_input_devices_pad_1 (const
xcb_input_list_input_devices_request_t *reply)
π«Ά REQUEST ARGUMENTS
connβ your XCB connection to X11. the lil lifeline to the server, the group chat you're sending the request into. π
πΈ REPLY FIELDS
response_typeβ the type of this reply. in this case it'sXCB_INPUT_LIST_INPUT_DEVICES. this field also lives in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. it's the name tag at the party. π·οΈsequenceβ the sequence number of the last request processed by the X11 server. lowkey the "seen at" timestamp of your request. β±οΈlengthβ the length of the reply, in words (and a word is 4 bytes, no cap). πxi_reply_typeβ TODO: NOT YET DOCUMENTED. yeah bestie, even the docs are gatekeeping this one. πdevices_lenβ TODO: NOT YET DOCUMENTED. same situation, it's a mystery. π
β¨ DESCRIPTION
okay soβ¦ this section is literally empty in the original. nothing. a void. the blank canvas of manpages. π³οΈβ¨ no description was written, so i'm not about to invent one for you β that would be making stuff up and we don't do that here.
π¦ RETURN VALUE
returns an xcb_input_list_input_devices_cookie_t. errors have to be handled when you call the reply function xcb_input_list_input_devices_reply. πͺ
if you'd rather handle errors in the event loop instead, use xcb_input_list_input_devices_unchecked. see xcb-requests(3) for details. different vibe, same request, pick your fighter. π«
π ERRORS
This request does never generate any errors. not one. zero. she's unproblematic, and we love that for her. ππ
π SEE ALSO
nothing listed here, bestie. the SEE ALSO section is as empty as my weekend plans. π«
π AUTHOR
generated from xinput.xml. contact xcb@lists.freedesktop.org for corrections and improvements. if you spot something off, pls tell them, they're literally asking. π«Ά
and that's the whole page, fr fr. it came to you from X Version 11 with libxcb 1.17.0 doing the heavy lifting β stay hydrated, read your return values, and 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