|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Files | |
| file | input_keymap.h |
| Header file for keymap utilities. | |
Macros | |
| #define | MATRIX_ROW(keymap_entry) |
| Extract the row index from a keymap entry. | |
| #define | MATRIX_COL(keymap_entry) |
| Extract the column index from a keymap entry. | |
| #define MATRIX_COL | ( | keymap_entry | ) |
#include <zephyr/input/input_keymap.h>
Extract the column index from a keymap entry.
This macro extracts the column index from a 32-bit keymap entry. The column index is stored in bits 16-23 of the keymap entry.
| keymap_entry | The 32-bit keymap entry value. |
| #define MATRIX_ROW | ( | keymap_entry | ) |
#include <zephyr/input/input_keymap.h>
Extract the row index from a keymap entry.
This macro extracts the row index from a 32-bit keymap entry. The row index is stored in bits 24-31 of the keymap entry.
| keymap_entry | The 32-bit keymap entry value. |