nRF Connect SDK API
2.8.99
Loading...
Searching...
No Matches
fn_key_id.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef _FN_KEY_ID_H_
8
#define _FN_KEY_ID_H_
9
10
#include <zephyr/sys/util.h>
11
#include <
caf/key_id.h
>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
#define _FN_POS (_COL_POS + _COL_SIZE)
18
#define _FN_BIT BIT(_FN_POS)
19
20
#define FN_KEY_ID(_col, _row) (KEY_ID(_col, _row) | _FN_BIT)
21
#define IS_FN_KEY(_keyid) ((_FN_BIT & _keyid) != 0)
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
/* _FN_KEY_ID_H_ */
key_id.h
applications
nrf_desktop
configuration
common
fn_key_id.h
Generated on Tue Nov 5 2024 16:02:08 for nRF Connect SDK API by
1.12.0