1STRUCT MATRIX_KEYMAP(9) Input Subsystem STRUCT MATRIX_KEYMAP(9)
2
3
4
6 struct_matrix_keymap_data - keymap for matrix keyboards
7
9 struct matrix_keymap_data {
10 const uint32_t * keymap;
11 unsigned int keymap_size;
12 };
13
15 keymap
16 pointer to array of uint32 values encoded with KEY macro
17 representing keymap
18
19 keymap_size
20 number of entries (initialized) in this keymap
21
23 This structure is supposed to be used by platform code to supply
24 keymaps to drivers that implement matrix-like keypads/keyboards.
25
27Kernel Hackers Manual 3.10 June 2019 STRUCT MATRIX_KEYMAP(9)