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) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
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 */
17
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};
const struct @8 click_detector_def_include_once
Definition click_detector.h:17