---
name: "struct_matrix_keymap_data"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_matrix_keymap_data"
---

# struct\_matrix\_keymap\_data(9)

keymap for matrix keyboards

## NAME

struct\_matrix\_keymap\_data - keymap for matrix keyboards

## SYNOPSIS

```
struct matrix_keymap_data {
  const uint32_t * keymap;
  unsigned int keymap_size;
};
```

## MEMBERS

keymap

pointer to array of uint32 values encoded with **KEY** macro representing keymap

keymap\_size

number of entries (initialized) in this keymap

## DESCRIPTION

This structure is supposed to be used by platform code to supply keymaps to drivers that implement matrix-like keypads/keyboards.

## COPYRIGHT
