Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_keymap.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 Google LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_INPUT_INPUT_KEYMAP_H_
8#define ZEPHYR_INCLUDE_INPUT_INPUT_KEYMAP_H_
9
10#define MATRIX_ROW(keymap_entry) (((keymap_entry) >> 24) & 0xff)
11#define MATRIX_COL(keymap_entry) (((keymap_entry) >> 16) & 0xff)
12
13#endif /* ZEPHYR_INCLUDE_INPUT_INPUT_KEYMAP_H_ */