xcb\_input\_device\_key\_press\_event\_t(3) XCB Events xcb\_input\_device\_key\_press\_event\_t(3)

# [NAME](#NAME)

xcb\_input\_device\_key\_press\_event\_t -

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;xcb/xinput.h&gt;**

## [Event datastructure](#Event_datastructure)

```
typedef struct xcb_input_device_key_press_event_t {


    uint8_t         response_type;


    uint8_t         detail;


    uint16_t        sequence;


    xcb_timestamp_t time;


    xcb_window_t    root;


    xcb_window_t    event;


    xcb_window_t    child;


    int16_t         root_x;


    int16_t         root_y;


    int16_t         event_x;


    int16_t         event_y;


    uint16_t        state;


    uint8_t         same_screen;


    uint8_t         device_id;
} xcb_input_device_key_press_event_t;
```

# [EVENT FIELDS](#EVENT_FIELDS)

[*response\_type*](#response_type)

The type of this event, in this case *XCB\_INPUT\_PROXIMITY\_OUT*. This field is also present in the *xcb\_generic\_event\_t* and can be used to tell events apart from each other.

[*sequence*](#sequence)

The sequence number of the last request processed by the X11 server.

[*detail*](#detail)

NOT YET DOCUMENTED.

[*time*](#time)

NOT YET DOCUMENTED.

[*root*](#root)

NOT YET DOCUMENTED.

[*event*](#event)

NOT YET DOCUMENTED.

[*child*](#child)

NOT YET DOCUMENTED.

[*root\_x*](#root_x)

NOT YET DOCUMENTED.

[*root\_y*](#root_y)

NOT YET DOCUMENTED.

[*event\_x*](#event_x)

NOT YET DOCUMENTED.

[*event\_y*](#event_y)

NOT YET DOCUMENTED.

[*state*](#state)

NOT YET DOCUMENTED.

[*same\_screen*](#same_screen)

NOT YET DOCUMENTED.

[*device\_id*](#device_id)

NOT YET DOCUMENTED.

# [DESCRIPTION](#DESCRIPTION)

# [SEE ALSO](#SEE_ALSO)

# [AUTHOR](#AUTHOR)

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

libxcb 1.17.0 X Version 11

---

Document: xcb_input_device_key_press_event_t(3) from libxcb 1.17.0-r19 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
