xcb_input_grab_device_key(3) XCB Requests xcb_input_grab_device_key(3)

xcb_input_grab_device_key -

#include <xcb/xinput.h>

xcb_void_cookie_t xcb_input_grab_device_key(xcb_connection_t *conn, xcb_window_t grab_window, uint16_t num_classes, uint16_t modifiers, uint8_t modifier_device, uint8_t grabbed_device, uint8_t key, uint8_t this_device_mode, uint8_t other_device_mode, uint8_t owner_events, const xcb_input_event_class_t *classes);

The XCB connection to X11.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with xcb_request_check instead, use xcb_input_grab_device_key_checked. See xcb-requests(3) for details.

This request does never generate any errors.

Generated from xinput.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.

libxcb 1.17.0 X Version 11