.TH xcb_xkb_get_state 3  "libxcb 1.13" "X Version 11" "XCB Requests"
.ad l
.SH NAME
xcb_xkb_get_state \- 
.SH SYNOPSIS
.hy 0
.B #include <xcb/xkb.h>
.SS Request function
.HP
xcb_xkb_get_state_cookie_t \fBxcb_xkb_get_state\fP(xcb_connection_t\ *\fIconn\fP, xcb_xkb_device_spec_t\ \fIdeviceSpec\fP);
.PP
.SS Reply datastructure
.nf
.sp
typedef struct xcb_xkb_get_state_reply_t {
    uint8_t  \fIresponse_type\fP;
    uint8_t  \fIdeviceID\fP;
    uint16_t \fIsequence\fP;
    uint32_t \fIlength\fP;
    uint8_t  \fImods\fP;
    uint8_t  \fIbaseMods\fP;
    uint8_t  \fIlatchedMods\fP;
    uint8_t  \fIlockedMods\fP;
    uint8_t  \fIgroup\fP;
    uint8_t  \fIlockedGroup\fP;
    int16_t  \fIbaseGroup\fP;
    int16_t  \fIlatchedGroup\fP;
    uint8_t  \fIcompatState\fP;
    uint8_t  \fIgrabMods\fP;
    uint8_t  \fIcompatGrabMods\fP;
    uint8_t  \fIlookupMods\fP;
    uint8_t  \fIcompatLookupMods\fP;
    uint8_t  \fIpad0\fP;
    uint16_t \fIptrBtnState\fP;
    uint8_t  \fIpad1\fP[6];
} \fBxcb_xkb_get_state_reply_t\fP;
.fi
.SS Reply function
.HP
xcb_xkb_get_state_reply_t *\fBxcb_xkb_get_state_reply\fP(xcb_connection_t\ *\fIconn\fP, xcb_xkb_get_state_cookie_t\ \fIcookie\fP, xcb_generic_error_t\ **\fIe\fP);
.br
.hy 1
.SH REQUEST ARGUMENTS
.IP \fIconn\fP 1i
The XCB connection to X11.
.IP \fIdeviceSpec\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_STATE\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 \fImods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIbaseMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIlatchedMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIlockedMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIgroup\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIlockedGroup\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIbaseGroup\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIlatchedGroup\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIcompatState\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIgrabMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIcompatGrabMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIlookupMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIcompatLookupMods\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIptrBtnState\fP 1i
TODO: NOT YET DOCUMENTED.
.SH DESCRIPTION
.SH RETURN VALUE
Returns an \fIxcb_xkb_get_state_cookie_t\fP. Errors have to be handled when calling the reply function \fIxcb_xkb_get_state_reply\fP.

If you want to handle errors in the event loop instead, use \fIxcb_xkb_get_state_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.
