xcb_input_close_device(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_input_close_device πŸ’–

okay so bestie, this one's from the XCB Requests corner of the libxcb universe β€” it's the little request that closes an input device. short page, but we're gonna make it cute. ✨


🌸 NAME 🌸

xcb_input_close_device β€” closes an input device (the description is literally blank in the original, no cap, we're all just vibing with the title here 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

#include <xcb/xinput.h>

✨ Request function ✨

xcb_void_cookie_t xcb_input_close_device(xcb_connection_t *conn,
       uint8_t device_id);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” your XCB connection to X11, the lil lifeline to the server πŸ’«
  • device_id β€” TODO: NOT YET DOCUMENTED. yeah. the docs just said "not yet documented" and walked away πŸ’€ so all we know is it's a uint8_t and it's the device id. iconic of them honestly.

πŸ’… DESCRIPTION πŸ’…

so like… there is literally no description text here. the original page has the heading and then nothing. not a single word. the description said "I'm not gonna say anything today" and we respect that. πŸ™ˆ

(since we keep every detail: yes, that's genuinely all the source gives us. no invented lore, bestie.)


🌈 RETURN VALUE 🌈

It hands you back an xcb_void_cookie_t. any errors (if there even are any, spoiler: there aren't) have to be handled over in the event loop, so go hang out there.

If you'd rather handle errors directly with xcb_request_check instead, use xcb_input_close_device_checked. check out xcb-requests(3) for the deets πŸ‘‘


πŸ”₯ ERRORS πŸ”₯

This request does never generate any errors. zero. none. not a single one. it's giving peaceful, unproblematic, main character energy ⭐


🧚 SEE ALSO 🧚

…it's empty. the section is there, and then it's just vibes and silence. 🌸 no references, no cross-links, nothing. iykyk.


πŸ’œ AUTHOR πŸ’œ

Generated from xinput.xml. If you wanna send corrections or improvements, hit up xcb@lists.freedesktop.org β€” they're taking notes fr fr πŸ“


okay that's the whole page!! short and sweet, just like this request. go close that device, bestie πŸ’–

X Version 11 Β· libxcb 1.17.0 Β· xcb_input_close_device(3) β€” mwah, that's the version and date sign-off, love you, bye!! πŸŽ€βœ¨πŸ¦‹