---
name: "xcb_mapping_notify_event_t"
section: "3"
platform: "linux"
package: "libxcb"
version: "1.17.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xcb_mapping_notify_event_t"
---

# xcb\_mapping\_notify\_event\_t(3)

keyboard mapping changed

## NAME

xcb\_mapping\_notify\_event\_t - keyboard mapping changed

## SYNOPSIS

**#include \<xcb/xproto.h\>**

### Event datastructure

```

typedef struct xcb_mapping_notify_event_t {
    uint8_t       response_type;
    uint8_t       pad0;
    uint16_t      sequence;
    uint8_t       request;
    xcb_keycode_t first_keycode;
    uint8_t       count;
    uint8_t       pad1;
} xcb_mapping_notify_event_t;
```

## EVENT FIELDS

- *response\_type*

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

- *sequence*

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

- *request*

  - *first\_keycode*

  The first number in the range of the altered mapping.

- *count*

  The number of keycodes altered.

## DESCRIPTION

## SEE ALSO

**xcb\_generic\_event\_t**(3)

## AUTHOR

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