Zephyr API Documentation
4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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_DT_BINDINGS_INPUT_KEYMAP_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_INPUT_KEYMAP_H_
9
10
#define MATRIX_KEY(row, col, code) \
11
((((row) & 0xff) << 24) | (((col) & 0xff) << 16) | ((code) & 0xffff))
12
13
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_INPUT_KEYMAP_H_ */
zephyr
dt-bindings
input
keymap.h
Generated on Tue Nov 12 2024 18:02:54 for Zephyr API Documentation by
1.12.0