HID Add-on API
1.0.99
Loading...
Searching...
No Matches
click_detector_def.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 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 =
false
,
23
},
24
#endif
/* CONFIG_DESKTOP_BLE_PEER_CONTROL */
25
};
click_detector_config
static const struct click_detector_config click_detector_config[]
Definition
click_detector_def.h:18
click_detector_def_include_once
const struct @6 click_detector_def_include_once
applications
nrf_desktop
configuration
nrf54lm20dk_nrf54lm20b_cpuapp
click_detector_def.h
Generated on Fri Oct 23 2026 14:29:46 for HID Add-on API by
1.12.0