Zephyr API Documentation
3.6.99
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 Thu Jul 4 2024 12:22:47 for Zephyr API Documentation by
1.9.6