nRF Connect SDK API
3.3.99
Loading...
Searching...
No Matches
click_detector_def.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#include <
caf/click_detector.h
>
8
9
/* This configuration file is included only once from click_detector module
10
* and holds information about click detector configuration.
11
*/
12
13
/* This structure enforces the header file is included only once in the build.
14
* Violating this requirement triggers a multiple definition error at link time.
15
*/
16
const
struct
{}
click_detector_def_include_once
;
17
18
static
const
struct
click_detector_config
click_detector_config
[] = {
19
#if CONFIG_DESKTOP_BLE_PEER_CONTROL
20
{
21
.key_id = CONFIG_DESKTOP_BLE_PEER_CONTROL_BUTTON,
22
.consume_button_event =
true
,
23
},
24
#endif
/* CONFIG_DESKTOP_BLE_PEER_CONTROL */
25
};
click_detector.h
click_detector_def_include_once
const struct @8 click_detector_def_include_once
click_detector_config
Definition
click_detector.h:17
applications
nrf_desktop
configuration
nrf52840dongle_nrf52840
click_detector_def.h
Generated on Wed Jun 10 2026 17:22:24 for nRF Connect SDK API by
1.12.0