Zephyr Project API 4.2.99
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
13#ifndef ZEPHYR_INCLUDE_INPUT_INPUT_KEYMAP_H_
14#define ZEPHYR_INCLUDE_INPUT_INPUT_KEYMAP_H_
15
31#define MATRIX_ROW(keymap_entry) (((keymap_entry) >> 24) & 0xff)
32
42#define MATRIX_COL(keymap_entry) (((keymap_entry) >> 16) & 0xff)
43
46#endif /* ZEPHYR_INCLUDE_INPUT_INPUT_KEYMAP_H_ */