.TH xcb_xkb_get_device_info 3  "libxcb 1.13" "X Version 11" "XCB Requests"
.ad l
.SH NAME
xcb_xkb_get_device_info \- 
.SH SYNOPSIS
.hy 0
.B #include <xcb/xkb.h>
.SS Request function
.HP
xcb_xkb_get_device_info_cookie_t \fBxcb_xkb_get_device_info\fP(xcb_connection_t\ *\fIconn\fP, xcb_xkb_device_spec_t\ \fIdeviceSpec\fP, uint16_t\ \fIwanted\fP, uint8_t\ \fIallButtons\fP, uint8_t\ \fIfirstButton\fP, uint8_t\ \fInButtons\fP, xcb_xkb_led_class_spec_t\ \fIledClass\fP, xcb_xkb_id_spec_t\ \fIledID\fP);
.PP
.SS Reply datastructure
.nf
.sp
typedef struct xcb_xkb_get_device_info_reply_t {
    uint8_t    \fIresponse_type\fP;
    uint8_t    \fIdeviceID\fP;
    uint16_t   \fIsequence\fP;
    uint32_t   \fIlength\fP;
    uint16_t   \fIpresent\fP;
    uint16_t   \fIsupported\fP;
    uint16_t   \fIunsupported\fP;
    uint16_t   \fInDeviceLedFBs\fP;
    uint8_t    \fIfirstBtnWanted\fP;
    uint8_t    \fInBtnsWanted\fP;
    uint8_t    \fIfirstBtnRtrn\fP;
    uint8_t    \fInBtnsRtrn\fP;
    uint8_t    \fItotalBtns\fP;
    uint8_t    \fIhasOwnState\fP;
    uint16_t   \fIdfltKbdFB\fP;
    uint16_t   \fIdfltLedFB\fP;
    uint8_t    \fIpad0\fP[2];
    xcb_atom_t \fIdevType\fP;
    uint16_t   \fInameLen\fP;
} \fBxcb_xkb_get_device_info_reply_t\fP;
.fi
.SS Reply function
.HP
xcb_xkb_get_device_info_reply_t *\fBxcb_xkb_get_device_info_reply\fP(xcb_connection_t\ *\fIconn\fP, xcb_xkb_get_device_info_cookie_t\ \fIcookie\fP, xcb_generic_error_t\ **\fIe\fP);
.SS Reply accessors
.HP
xcb_xkb_string8_t *\fBxcb_xkb_get_device_info_name\fP(const xcb_xkb_get_device_info_request_t *\fIreply\fP);
.HP
int \fBxcb_xkb_get_device_info_name_length\fP(const xcb_xkb_get_device_info_reply_t *\fIreply\fP);
.HP
xcb_generic_iterator_t \fBxcb_xkb_get_device_info_name_end\fP(const xcb_xkb_get_device_info_reply_t *\fIreply\fP);
uint8_t *xcb_xkb_get_device_info_pad_1 (const xcb_xkb_get_device_info_request_t *reply)
.HP
xcb_xkb_action_t *\fBxcb_xkb_get_device_info_btn_actions\fP(const xcb_xkb_get_device_info_request_t *\fIreply\fP);
.HP
int \fBxcb_xkb_get_device_info_btn_actions_length\fP(const xcb_xkb_get_device_info_reply_t *\fIreply\fP);
.HP
xcb_xkb_action_iterator_t \fBxcb_xkb_get_device_info_btn_actions_iterator\fP(const xcb_xkb_get_device_info_reply_t *\fIreply\fP);
.HP
int \fBxcb_xkb_get_device_info_leds_length\fP(const xcb_xkb_get_device_info_reply_t *\fIreply\fP);
.HP
xcb_xkb_device_led_info_iterator_t \fBxcb_xkb_get_device_info_leds_iterator\fP(const xcb_xkb_get_device_info_reply_t *\fIreply\fP);
.br
.hy 1
.SH REQUEST ARGUMENTS
.IP \fIconn\fP 1i
The XCB connection to X11.
.IP \fIdeviceSpec\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIwanted\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIallButtons\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIfirstButton\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInButtons\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIledClass\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIledID\fP 1i
TODO: NOT YET DOCUMENTED.
.SH REPLY FIELDS
.IP \fIresponse_type\fP 1i
The type of this reply, in this case \fIXCB_XKB_GET_DEVICE_INFO\fP. This field is also present in the \fIxcb_generic_reply_t\fP and can be used to tell replies apart from each other.
.IP \fIsequence\fP 1i
The sequence number of the last request processed by the X11 server.
.IP \fIlength\fP 1i
The length of the reply, in words (a word is 4 bytes).
.IP \fIdeviceID\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIpresent\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIsupported\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIunsupported\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInDeviceLedFBs\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIfirstBtnWanted\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInBtnsWanted\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIfirstBtnRtrn\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInBtnsRtrn\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fItotalBtns\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIhasOwnState\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIdfltKbdFB\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIdfltLedFB\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIdevType\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInameLen\fP 1i
TODO: NOT YET DOCUMENTED.
.SH DESCRIPTION
.SH RETURN VALUE
Returns an \fIxcb_xkb_get_device_info_cookie_t\fP. Errors have to be handled when calling the reply function \fIxcb_xkb_get_device_info_reply\fP.

If you want to handle errors in the event loop instead, use \fIxcb_xkb_get_device_info_unchecked\fP. See \fBxcb-requests(3)\fP for details.
.SH ERRORS
This request does never generate any errors.
.SH SEE ALSO
.SH AUTHOR
Generated from xkb.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
