Zephyr Project API
3.7.0
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_ */
include
zephyr
dt-bindings
input
keymap.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8